wok-6.x view libusb-compat/receipt @ rev 22349
python-llfuse: s|attr/xattr|sys/xattr|
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 10:45:32 2019 +0100 (2019-11-18) |
parents | 1391e3f0a87b |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to convert libusb 0.1 calls into 1.0 equivalents."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/libusb/libusb-compat-0.1"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/libusb/$PACKAGE-0.1/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="libusb"
15 BUILD_DEPENDS="libusb-dev udev-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }