Annotation of /branches/R11-stable/extras/libgusb/libgusb-0.2.4-r2.smage2
Parent Directory | Revision Log
Revision 23621 -
(hide annotations)
(download)
Tue Jul 8 01:36:03 2014 UTC (9 years, 10 months ago) by niro
Original Path: trunk/extras/libgusb/libgusb-0.2.4-r2.smage2
File size: 767 byte(s)
Tue Jul 8 01:36:03 2014 UTC (9 years, 10 months ago) by niro
Original Path: trunk/extras/libgusb/libgusb-0.2.4-r2.smage2
File size: 767 byte(s)
-enable introspection and vala bindings
1 | niro | 23621 | # $Id$ |
2 | |||
3 | PNAME="libgusb" | ||
4 | PVER="0.2.4" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="GLib libusb wrapper." | ||
10 | HOMEPAGE="https://gitorious.org/gusb/" | ||
11 | |||
12 | DEPEND=">= dev-libs/glib2-2.42 | ||
13 | >= dev-libs/libusb-1.0.19 | ||
14 | >= sys-fs/udev-216" | ||
15 | |||
16 | SDEPEND=">= dev-libs/libxslt-1.1.26 | ||
17 | >= dev-util/pkgconfig-0.25 | ||
18 | >= dev-lang/vala-0.26 | ||
19 | >= dev-libs/gobject-introspection-1.42" | ||
20 | |||
21 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
23 | |||
24 | msetfeature "!check" | ||
25 | sminclude multilib | ||
26 | |||
27 | SRC_URI=( | ||
28 | http://people.freedesktop.org/~hughsient/releases/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd http://people.freedesktop.org/~hughsient/releases/ | grep ${PNAME}- | highesttarball xz" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | mconfigure --enable-introspection --enable-vala || die | ||
37 | mmake || die | ||
38 | } |