Annotation of /smage/branches/alx07x-unstable/core/libusb-compat/libusb-compat-0.1.5-r5.smage2
Parent Directory | Revision Log
Revision 10832 -
(hide annotations)
(download)
Thu Aug 31 08:23:41 2017 UTC (7 years ago) by niro
File size: 812 byte(s)
Thu Aug 31 08:23:41 2017 UTC (7 years ago) by niro
File size: 812 byte(s)
-release branches/alx07x-unstable
1 | niro | 10431 | # $Id$ |
2 | |||
3 | PNAME="libusb-compat" | ||
4 | PVER="0.1.5" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="Compatible Layer for the libusb-1.0 to access USB devices via 0.1 API." | ||
10 | HOMEPAGE="http://libusb.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= dev-libs/libusb-1.0.19" | ||
13 | ALX_DEV_DEPEND=">= dev-libs/libusb-dev-1.0.19" | ||
14 | SDEPEND="${ALX_DEV_DEPEND}" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" | ||
20 | sminclude mbuild multilib alx-split | ||
21 | |||
22 | SRC_URI=( | ||
23 | sourceforge://libusb/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | # libusb-0.1 variant | ||
28 | UP2TARBALL="${PNAME}" | ||
29 | UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | # we don't want the docs (needs docbook-sgml-dtd), | ||
34 | # and hard disable debug support | ||
35 | mconfigure --disable-build-docs --disable-debug || die | ||
36 | mmake -j1 || die | ||
37 | } |