Magellan Linux

Contents of /branches/R11-stable/core/libusb/libusb-1.0.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14821 - (show annotations) (download)
Wed Jan 2 09:30:17 2013 UTC (11 years, 4 months ago) by niro
File size: 667 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libusb"
4 PVER="1.0.9"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="A library to access USB devices with user level applications."
10 HOMEPAGE="http://libusb.sourceforge.net/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild multilib
18
19 SRC_URI=(
20 sourceforge://${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 # libusb-1.0 variant
25 UP2TARBALL="${PNAME}"
26 UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-1.0"
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 }