Annotation of /branches/magellan-next/core/libusb-compat/libusb-compat-0.1.3-r2.smage2
Parent Directory | Revision Log
Revision 8959 -
(hide annotations)
(download)
Thu Aug 25 16:54:23 2011 UTC (13 years, 1 month ago) by niro
File size: 727 byte(s)
Thu Aug 25 16:54:23 2011 UTC (13 years, 1 month ago) by niro
File size: 727 byte(s)
-fixed dependencies
1 | niro | 7591 | # $Id$ |
2 | |||
3 | PNAME="libusb-compat" | ||
4 | PVER="0.1.3" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Compatible Layer for the libusb-1.0 to access USB devices via 0.1 API." | ||
11 | HOMEPAGE="http://libusb.sourceforge.net/" | ||
12 | |||
13 | niro | 8959 | DEPEND=">= dev-libs/libusb-1.0.8" |
14 | niro | 7591 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild multilib | ||
19 | |||
20 | SRC_URI=( | ||
21 | sourceforge://libusb/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | # libusb-0.1 variant | ||
26 | UP2SUBSTITUTE="${PNAME}-" | ||
27 | UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1' - ${PNAME}" | ||
28 | |||
29 | src_compile() | ||
30 | { | ||
31 | # we don't want the docs (needs docbook-sgml-dtd), | ||
32 | # and hard disable debug support | ||
33 | mconfigure --disable-build-docs --disable-debug || die | ||
34 | mmake -j1 || die | ||
35 | } |