wok-6.x view libusb-compat/receipt @ rev 17146
libmrss: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 13:04:01 2014 +0200 (2014-09-10) |
parents | d15f5ee57730 |
children | 1391e3f0a87b |
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 }