Magellan Linux

Contents of /branches/R11-stable/core/libusb-compat/libusb-compat-0.1.5-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24088 - (show annotations) (download)
Fri Feb 20 08:55:11 2015 UTC (9 years, 2 months ago) by niro
File size: 690 byte(s)
-release branches/R11-stable
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
14 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild multilib
18
19 SRC_URI=(
20 sourceforge://libusb/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 # libusb-0.1 variant
25 UP2TARBALL="${PNAME}"
26 UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'"
27
28 src_compile()
29 {
30 # we don't want the docs (needs docbook-sgml-dtd),
31 # and hard disable debug support
32 mconfigure --disable-build-docs --disable-debug || die
33 mmake -j1 || die
34 }