Magellan Linux

Contents of /smage/branches/alx-0_9_0/imlib/imlib-1.9.15-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1271 - (show annotations) (download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 5 months ago) by niro
File size: 1213 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 # $Header: /alx-cvs/smage-eglibc/imlib/imlib-1.9.15-r7.smage2,v 1.2 2008/06/04 09:11:49 niro Exp $
2
3 PNAME="imlib"
4 PVER="1.9.15"
5 PBUILD="r7"
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.5.5
15 >= media-libs/giflib-4.1.0
16 >= media-libs/libpng-1.2.1
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 sminclude alx
25
26 SRC_URI=(
27 http://ftp.gnome.org/pub/GNOME/sources/${PNAME}/${PVER:0:3}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch
30 )
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # fixes m4 warnings
38 mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
39
40 # fix config script
41 sed -i -e "49,51D" -e "55,57D" imlib-config.in || die
42
43 mlibtoolize || die
44 }
45
46 src_compile()
47 {
48 cd ${SRCDIR}
49 mconfigure --sysconfdir=/etc/imlib || die
50 mmake || die
51 }
52
53 src_install()
54 {
55 cd ${SRCDIR}
56 minstall \
57 includedir=${BINDIR}/usr/include \
58 sysconfdir=${BINDIR}/etc/imlib \
59 || die
60
61 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die
62 }

Properties

Name Value
svn:keywords Id