wok view libusb-compat/receipt @ rev 16155
mirror-tools: no more mirror-info since http://hg.slitaz.org/slitaz-dev-tools/rev/113c2519c444
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:14:24 2014 +0000 (2014-03-28) |
parents | 8d6f480bf664 |
children | d15f5ee57730 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libusb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/libusb/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libusb"
15 BUILD_DEPENDS="libusb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }