Magellan Linux

Contents of /trunk/core/libusb/libusb-1.0.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12072 - (show annotations) (download)
Fri May 4 12:47:01 2012 UTC (12 years, 1 month ago) by niro
File size: 684 byte(s)
auto added: ver bump to 1.0.9-r1
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 UP2SUBSTITUTE="${PNAME}-"
26 UP2DATE="updatecmd_sourceforge ${PNAME} '${PNAME}-1.0' - ${PNAME}"
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 }