Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6642 - (show annotations) (download)
Wed Jul 15 09:54:33 2015 UTC (8 years, 10 months ago) by niro
File size: 777 byte(s)
auto added: ver bump to 0.1.5-r3
1 # $Id$
2
3 PNAME="libusb-compat"
4 PVER="0.1.5"
5 PBUILD="r3"
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 SDEPEND=">= dev-libs/libusb-dev-1.0.19"
14
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
19 sminclude mbuild multilib alx-split
20
21 SRC_URI=(
22 sourceforge://libusb/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 # libusb-0.1 variant
27 UP2TARBALL="${PNAME}"
28 UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'"
29
30 src_compile()
31 {
32 # we don't want the docs (needs docbook-sgml-dtd),
33 # and hard disable debug support
34 mconfigure --disable-build-docs --disable-debug || die
35 mmake -j1 || die
36 }