Contents of /smage/trunk/core/libusb-compat/libusb-compat-0.1.5-r7.smage2
Parent Directory | Revision Log
Revision 14099 -
(show annotations)
(download)
Fri Jul 3 11:06:47 2020 UTC (4 years, 2 months ago) by niro
File size: 812 byte(s)
Fri Jul 3 11:06:47 2020 UTC (4 years, 2 months ago) by niro
File size: 812 byte(s)
auto added: ver bump to 0.1.5-r7
1 | # $Id$ |
2 | |
3 | PNAME="libusb-compat" |
4 | PVER="0.1.5" |
5 | PBUILD="r7" |
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.23" |
13 | ALX_DEV_DEPEND=">= dev-libs/libusb-dev-1.0.23" |
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 multilib mbuild 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 | } |