Magellan Linux

Annotation of /branches/R11-unstable/core/libusb-compat/libusb-compat-0.1.5-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32152 - (hide annotations) (download)
Mon Apr 29 11:45:14 2019 UTC (5 years ago) by niro
File size: 690 byte(s)
-release branches/R11-unstable
1 niro 30404 # $Id$
2    
3     PNAME="libusb-compat"
4     PVER="0.1.5"
5     PBUILD="r4"
6    
7     PCAT="dev-libs"
8    
9     DESCRIPTION="Compatible Layer for the libusb-1.0 to access USB devices via 0.1 API."
10     HOMEPAGE="http://libusb.sourceforge.net/"
11    
12     DEPEND=">= dev-libs/libusb-1.0.19"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.bz2"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude multilib mbuild
18    
19     SRC_URI=(
20     sourceforge://libusb/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     )
23    
24     # libusb-0.1 variant
25     UP2TARBALL="${PNAME}"
26     UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'"
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     }