Magellan Linux

Annotation of /smage/trunk/core/libusb-compat/libusb-compat-0.1.5-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8464 - (hide annotations) (download)
Tue Feb 2 10:44:54 2016 UTC (8 years, 3 months ago) by niro
File size: 812 byte(s)
-fixed alx dev deps
1 niro 8464 # $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     ALX_DEV_DEPEND=">= dev-libs/libusb-dev-1.0.19"
14     SDEPEND="${ALX_DEV_DEPEND}"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.bz2"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
20     sminclude mbuild multilib alx-split
21    
22     SRC_URI=(
23     sourceforge://libusb/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     # libusb-0.1 variant
28     UP2TARBALL="${PNAME}"
29     UP2DATE="updatecmd_sourceforge libusb '${PNAME}-0.1'"
30    
31     src_compile()
32     {
33     # we don't want the docs (needs docbook-sgml-dtd),
34     # and hard disable debug support
35     mconfigure --disable-build-docs --disable-debug || die
36     mmake -j1 || die
37     }