Magellan Linux

Contents of /trunk/extras/installer-cairomm/installer-cairomm-1.8.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1392 - (show annotations) (download)
Wed May 6 08:46:55 2009 UTC (15 years ago) by niro
File size: 990 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="installer-cairomm"
4 PVER="1.8.0"
5 PBUILD="r3"
6
7 PCATEGORIE="app-mage"
8 STATE="unstable"
9
10 DESCRIPTION="Internal cairomm library for the installer. Not intended for main use."
11 HOMEPAGE="http://cairographics.org/cairomm/"
12
13 DEPEND=">= app-mage/installer-cairo-1.8"
14 SDEPEND=">= x11-libs/cairo-1.8"
15
16 SRCFILE="cairomm-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/cairomm-${PVER}"
18
19 sminclude mbuild cleanutils
20
21 SRC_URI=(
22 http://cairographics.org/releases/${SRCFILE}
23 mirror://cairomm/${SRCFILE}
24 )
25
26 # check stable version
27 UP2TAG=releases
28 # check dev version
29 #UP2TAG=snapshots
30 UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME/installer-/}- | sed 's/.*ST-${PNAME/installer-/}-\([0-9\.]*\).*/\1/'"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 ./configure --prefix=/usr/installer || die
37 mmake || die
38 }
39
40 src_install()
41 {
42 cd ${SRCDIR}
43 mmake DESTDIR=${BINDIR} install || die
44
45 # cleanup
46 zapmost ${BINDIR} usr/installer/lib || die
47 rm -rf ${BINDIR}/usr/installer/lib/pkgconfig || die
48 }

Properties

Name Value
svn:keywords Id