Magellan Linux

Contents of /trunk/core/imlib/imlib-1.9.15-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1657 - (show annotations) (download)
Tue May 12 22:16:40 2009 UTC (15 years ago) by niro
File size: 1296 byte(s)
-fix link issues with libtool22
1 # $Id$
2
3 PNAME="imlib"
4 PVER="1.9.15"
5 PBUILD="r8"
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.8
15 >= media-libs/giflib-4.1.6
16 >= media-libs/libpng-1.2.35
17 >= media-libs/libjpeg-6b"
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
51 src_compile()
52 {
53 cd ${SRCDIR}
54 mconfigure --sysconfdir=/etc/imlib || die
55 mmake || die
56 }
57
58 src_install()
59 {
60 cd ${SRCDIR}
61 minstall \
62 includedir=${BINDIR}/usr/include \
63 sysconfdir=${BINDIR}/etc/imlib \
64 || die
65
66 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die
67 }

Properties

Name Value
svn:keywords Id