Contents of /trunk/core/imlib/imlib-1.9.15-r9.smage2
Parent Directory | Revision Log
Revision 3578 -
(show annotations)
(download)
Mon Oct 26 16:39:44 2009 UTC (14 years, 11 months ago) by niro
File size: 1338 byte(s)
Mon Oct 26 16:39:44 2009 UTC (14 years, 11 months ago) by niro
File size: 1338 byte(s)
-fixed libtool issues
1 | # $Id$ |
2 | |
3 | PNAME="imlib" |
4 | PVER="1.9.15" |
5 | PBUILD="r9" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="imlib" |
11 | HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/imlib/" |
12 | |
13 | DEPEND=">= x11-libs/gtk1+-1.2 |
14 | >= media-libs/libtiff-3.9 |
15 | >= media-libs/giflib-4.1.6 |
16 | >= media-libs/libpng-1.2.40 |
17 | >= media-libs/libjpeg-7" |
18 | |
19 | SDEPEND=">= sys-apps/sed-4" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | SRC_URI=( |
25 | http://ftp.gnome.org/pub/GNOME/sources/${PNAME}/${PVER:0:3}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch |
28 | mirror://${PNAME}/${PNAME}-${PVER}-asneeded.patch |
29 | ) |
30 | |
31 | # fake |
32 | UP2DATE="echo ${PVER}" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # fixes m4 warnings |
40 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die |
41 | |
42 | # fix link issues with libtool22 |
43 | mpatch ${PNAME}-${PVER}-asneeded.patch || die |
44 | |
45 | # fix config script |
46 | sed -i -e "49,51D" -e "55,57D" imlib-config.in || die |
47 | |
48 | autoreconf --verbose --install --force || die |
49 | |
50 | # fix libtool issues |
51 | mlibtoolize || die |
52 | } |
53 | |
54 | src_compile() |
55 | { |
56 | cd ${SRCDIR} |
57 | mconfigure --sysconfdir=/etc/imlib || die |
58 | mmake || die |
59 | } |
60 | |
61 | src_install() |
62 | { |
63 | cd ${SRCDIR} |
64 | minstall \ |
65 | includedir=${BINDIR}/usr/include \ |
66 | sysconfdir=${BINDIR}/etc/imlib \ |
67 | || die |
68 | |
69 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die |
70 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |