Annotation of /branches/magellan-next/core/gobject-introspection/gobject-introspection-0.10.8-r1.smage2
Parent Directory | Revision Log
Revision 7531 -
(hide annotations)
(download)
Thu May 26 16:00:05 2011 UTC (12 years, 11 months ago) by niro
File size: 1228 byte(s)
Thu May 26 16:00:05 2011 UTC (12 years, 11 months ago) by niro
File size: 1228 byte(s)
auto added: ver bump to 0.10.8-r1
1 | niro | 7531 | # $Id$ |
2 | |||
3 | PNAME="gobject-introspection" | ||
4 | PVER="0.10.8" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Introspection system for GObject-based libraries." | ||
11 | HOMEPAGE="http://live.gnome.org/GObjectInstrospection" | ||
12 | |||
13 | # x86_64 specific dependencies | ||
14 | DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1" | ||
15 | SPECIAL_VARS="DEPEND_x86_64" | ||
16 | |||
17 | DEPEND="\$(eval echo \\\$DEPEND_\${ARCH/i*86/x86} | tr ';' '\n') | ||
18 | >= dev-libs/libffi-3.0.9 | ||
19 | >= dev-libs/glib2-2.28 | ||
20 | >= dev-lang/python-2.7 | ||
21 | >= x11-libs/cairo-1.10" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude multilib mtools | ||
27 | |||
28 | SRC_URI=( | ||
29 | gnome://${PNAME}/${PVER%.*}/${SRCFILE} | ||
30 | mirror://${PNAME}/${SRCFILE} | ||
31 | ) | ||
32 | |||
33 | UP2DATE="updatecmd_gnome ${PNAME}" | ||
34 | |||
35 | |||
36 | src_compile() | ||
37 | { | ||
38 | local myconf | ||
39 | [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi) | ||
40 | mconfigure ${myconf} || die | ||
41 | mmake || die | ||
42 | } | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | mmake DESTDIR=${BINDIR} install || die | ||
47 | |||
48 | if [[ ${ARCH} = x86_64 ]] | ||
49 | then | ||
50 | # install multiarch-wrapper | ||
51 | mlink multiarch-wrapper /usr/bin/g-ir-compiler || die | ||
52 | mlink multiarch-wrapper /usr/bin/g-ir-generate || die | ||
53 | mlink multiarch-wrapper /usr/bin/g-ir-scanner || die | ||
54 | fi | ||
55 | |||
56 | minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die | ||
57 | } |