Magellan Linux

Contents of /trunk/extras/imlib/imlib-1.9.15-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1196 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/imlib/imlib-1.9.15-r7.smage2,v 1.1 2008/06/11 22:45:35 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 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 )
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 cd ${SRCDIR}
34
35 # fixes m4 warnings
36 mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
37
38 # fix config script
39 sed -i -e "49,51D" -e "55,57D" imlib-config.in || die
40
41 mlibtoolize || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47 mconfigure --sysconfdir=/etc/imlib || die
48 mmake || die
49 }
50
51 src_install()
52 {
53 cd ${SRCDIR}
54 minstall \
55 includedir=${BINDIR}/usr/include \
56 sysconfdir=${BINDIR}/etc/imlib \
57 || die
58
59 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die
60 }

Properties

Name Value
svn:keywords Id