Magellan Linux

Annotation of /trunk/extras/installer-cairomm/installer-cairomm-1.4.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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

1 niro 1384 # $Header: /magellan-cvs/smage/installer-cairomm/installer-cairomm-1.4.8-r1.smage2,v 1.1 2008/09/24 21:32:11 niro Exp $
2    
3     PNAME="installer-cairomm"
4     PVER="1.4.8"
5     PBUILD="r1"
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.4"
14    
15     SRCFILE="cairomm-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/cairomm-${PVER}"
17    
18     sminclude mbuild cleanutils
19    
20     SRC_URI=(
21     http://cairographics.org/releases/${SRCFILE}
22     mirror://cairomm/${SRCFILE}
23     )
24    
25     # check stable version
26     UP2TAG=releases
27     # check dev version
28     #UP2TAG=snapshots
29     UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME/installer-/}- | sed 's/.*ST-${PNAME/installer-/}-\([0-9\.]*\).*/\1/'"
30    
31     src_compile()
32     {
33     cd ${SRCDIR}
34    
35     ./configure --prefix=/usr/installer || die
36     mmake || die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42     mmake DESTDIR=${BINDIR} install || die
43    
44     # cleanup
45     zapmost ${BINDIR} usr/installer/lib || die
46     rm -rf ${BINDIR}/usr/installer/lib/pkgconfig || die
47     }

Properties

Name Value
svn:keywords Id