Magellan Linux

Contents of /smage/trunk/core/libusb-compat/libusb-compat-0.1.5-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11708 - (show annotations) (download)
Thu Jan 11 13:46:12 2018 UTC (6 years, 3 months ago) by niro
File size: 812 byte(s)
auto added: ver bump to 0.1.5-r6
1 # $Id$
2
3 PNAME="libusb-compat"
4 PVER="0.1.5"
5 PBUILD="r6"
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 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 }