wok-next view libusb-compat/receipt @ rev 18223

Up tahoe-lafs (1.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 18 13:58:22 2015 +0200 (2015-07-18)
parents d15f5ee57730
children 0e7893ac206d
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.4"
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 udev-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 }