Annotation of /trunk/extras/installer-cairomm/installer-cairomm-1.8.0-r1.smage2
Parent Directory | Revision Log
Revision 1384 -
(hide annotations)
(download)
Tue May 5 18:16:03 2009 UTC (15 years, 1 month ago) by niro
File size: 958 byte(s)
Tue May 5 18:16:03 2009 UTC (15 years, 1 month ago) by niro
File size: 958 byte(s)
-import from cvs
1 | niro | 1384 | # $Id$ |
2 | |||
3 | PNAME="installer-cairomm" | ||
4 | PVER="1.8.0" | ||
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.8" | ||
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 |