Contents of /smage/trunk/core/libusb-compat/libusb-compat-0.1.5-r1.smage2
Parent Directory | Revision Log
Revision 4878 -
(show annotations)
(download)
Tue May 28 09:24:40 2013 UTC (11 years ago) by niro
File size: 736 byte(s)
Tue May 28 09:24:40 2013 UTC (11 years ago) by niro
File size: 736 byte(s)
auto added: ver bump to 0.1.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="libusb-compat" |
4 | PVER="0.1.5" |
5 | PBUILD="r1" |
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.8" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
18 | sminclude mbuild multilib alx-split |
19 | |
20 | SRC_URI=( |
21 | sourceforge://libusb/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | # libusb-0.1 variant |
26 | UP2TARBALL="${PNAME}" |
27 | UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'" |
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 | } |