Magellan Linux

Annotation of /branches/magellan-next/core/libusb-compat/libusb-compat-0.1.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7591 - (hide annotations) (download)
Thu May 26 22:18:08 2011 UTC (13 years, 1 month ago) by niro
File size: 719 byte(s)
auto added: ver bump to 0.1.3-r2
1 niro 7591 # $Id$
2    
3     PNAME="libusb-compat"
4     PVER="0.1.3"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Compatible Layer for the libusb-1.0 to access USB devices via 0.1 API."
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://libusb/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     # libusb-0.1 variant
26     UP2SUBSTITUTE="${PNAME}-"
27     UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1' - ${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     }