Magellan Linux

Contents of /branches/magellan-next/core/libusb/libusb-1.0.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7392 - (show annotations) (download)
Tue Jan 11 22:26:35 2011 UTC (13 years, 4 months ago) by niro
File size: 764 byte(s)
-fixed SRCFILE
1 # $Id: libusb-0.1.12-r7.smage2 3951 2009-11-14 13:04:43Z niro $
2
3 PNAME="libusb"
4 PVER="1.0.8"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="A library to access USB devices with user level applications."
11 HOMEPAGE="http://libusb.sourceforge.net/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild multilib
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 # libusb-1.0 variant
26 UP2SUBSTITUTE="${PNAME}-"
27 UP2DATE="updatecmd_sourceforge ${PNAME} '${PNAME}-1.0' - ${PNAME}"
28
29 src_compile()
30 {
31 # we don't want the docs (needs docbook-sgml-dtd),
32 # and hard disable debug support
33 mconfigure --disable-build-docs --disable-debug || die
34 mmake -j1 || die
35 }