Contents of /smage/trunk/extras/libusb/libusb-1.0.8-r1.smage2
Parent Directory | Revision Log
Revision 3224 -
(show annotations)
(download)
Fri Sep 16 13:05:21 2011 UTC (12 years, 8 months ago) by niro
File size: 758 byte(s)
Fri Sep 16 13:05:21 2011 UTC (12 years, 8 months ago) by niro
File size: 758 byte(s)
auto added: ver bump to 1.0.8-r1
1 | # $Id$ |
2 | |
3 | PNAME="libusb" |
4 | PVER="1.0.8" |
5 | PBUILD="r1" |
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 | ALX_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" |
18 | sminclude mbuild multilib alx-split |
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 | } |