Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7581 - (show annotations) (download)
Thu May 26 21:54:21 2011 UTC (13 years ago) by niro
File size: 707 byte(s)
auto added: ver bump to 1.0.8-r2
1 # $Id$
2
3 PNAME="libusb"
4 PVER="1.0.8"
5 PBUILD="r2"
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 }