Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9826 - (show annotations) (download)
Thu Jan 12 02:24:55 2012 UTC (12 years, 3 months ago) by niro
File size: 690 byte(s)
-rebuild, dropped all la files
1 # $Id$
2
3 PNAME="libusb"
4 PVER="1.0.8"
5 PBUILD="r3"
6
7 PCATEGORIE="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 }