Contents of /branches/R11-stable/extras/gobject-introspection/gobject-introspection-1.40.0-r1.smage2
Parent Directory | Revision Log
Revision 21426 -
(show annotations)
(download)
Fri Jun 20 10:59:26 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/extras/gobject-introspection/gobject-introspection-1.40.0-r1.smage2
File size: 1162 byte(s)
Fri Jun 20 10:59:26 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/extras/gobject-introspection/gobject-introspection-1.40.0-r1.smage2
File size: 1162 byte(s)
auto added: ver bump to 1.40.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="gobject-introspection" |
4 | PVER="1.40.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="Introspection system for GObject-based libraries." |
10 | HOMEPAGE="http://live.gnome.org/GObjectInstrospection" |
11 | |
12 | # x86_64 specific dependencies |
13 | DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1" |
14 | SPECIAL_VARS="DEPEND_x86_64" |
15 | |
16 | DEPEND="$(marchdepend) |
17 | >= dev-libs/libffi-3.0.13 |
18 | >= dev-libs/glib2-2.40 |
19 | >= dev-lang/python-2.7 |
20 | >= x11-libs/cairo-1.12" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | sminclude multilib mtools |
26 | |
27 | SRC_URI=( |
28 | gnome://${PNAME}/${PVER%.*}/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | UP2DATE="updatecmd_gnome ${PNAME}" |
33 | |
34 | src_compile() |
35 | { |
36 | local myconf |
37 | [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi) |
38 | mconfigure ${myconf} || die |
39 | mmake || die |
40 | } |
41 | |
42 | src_install() |
43 | { |
44 | mmake DESTDIR=${BINDIR} install || die |
45 | |
46 | if [[ ${ARCH} = x86_64 ]] |
47 | then |
48 | # install multiarch-wrapper |
49 | mlink multiarch-wrapper /usr/bin/g-ir-compiler || die |
50 | mlink multiarch-wrapper /usr/bin/g-ir-generate || die |
51 | mlink multiarch-wrapper /usr/bin/g-ir-scanner || die |
52 | fi |
53 | |
54 | minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die |
55 | } |