Magellan Linux

Contents of /trunk/extras/installer-cairo/installer-cairo-1.8.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1384 - (show annotations) (download)
Tue May 5 18:16:03 2009 UTC (15 years ago) by niro
File size: 1254 byte(s)
-import from cvs

1 # $Id$
2
3 PNAME="installer-cairo"
4 PVER="1.8.6"
5 PBUILD="r1"
6
7 PCATEGORIE="app-mage"
8 STATE="unstable"
9
10 DESCRIPTION="Internal cairo library for the installer. Not intended for main use."
11 HOMEPAGE="http://cairographics.org/"
12
13 DEPEND=">= x11-libs/libXrender-0.9
14 >= x11-libs/libX11-1
15 >= x11-libs/libXft-2
16 >= media-libs/fontconfig-2
17 >= media-libs/freetype-2
18 >= sys-libs/zlib-1.2
19 >= media-libs/libpng-1.2.35"
20
21 SDEPEND=">= dev-util/pkgconfig-0.23
22 >= x11-proto/renderproto-0.9"
23
24 SRCFILE="cairo-${PVER}.tar.gz"
25 SRCDIR="${BUILDDIR}/cairo-${PVER}"
26
27 sminclude mbuild cleanutils
28
29 SRC_URI=(
30 http://cairographics.org/releases/${SRCFILE}
31 mirror://cairo/${SRCFILE}
32 )
33
34 # check stable version
35 UP2TAG=releases
36 # check dev version
37 #UP2TAG=snapshots
38 UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME/installer-/}- | sed 's/.*ST-${PNAME/installer-/}-\([0-9\.]*\).*/\1/'"
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 ./configure \
45 --prefix=/usr/installer \
46 --with-x \
47 --enable-png \
48 --disable-glitz \
49 --disable-gtk-doc \
50 --disable-static \
51 || die
52
53 mmake || die
54 }
55
56 src_install()
57 {
58 cd ${SRCDIR}
59 mmake DESTDIR=${BINDIR} install || die
60
61 # cleanup
62 zapmost ${BINDIR} usr/installer/lib || die
63 rm -rf ${BINDIR}/usr/installer/lib/pkgconfig || die
64 }

Properties

Name Value
svn:keywords Id