wok annotate libusb-compat/receipt @ rev 21585
updated npth and npth-dev (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 20 13:44:05 2019 +0100 (2019-05-20) |
parents | 1391e3f0a87b |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@2899 | 1 # SliTaz package receipt. |
pankso@2899 | 2 |
pankso@2899 | 3 PACKAGE="libusb-compat" |
Hans-G?nter@21331 | 4 VERSION="0.1.7" |
pankso@2899 | 5 CATEGORY="system-tools" |
erkan@20364 | 6 SHORT_DESC="Compatibility layer to convert libusb 0.1 calls into 1.0 equivalents." |
pankso@2899 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21331 | 9 WEB_SITE="https://github.com/libusb/libusb-compat-0.1" |
Hans-G?nter@21331 | 10 |
pankso@2899 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21331 | 12 WGET_URL="https://github.com/libusb/$PACKAGE-0.1/releases/download/v$VERSION/$TARBALL" |
pankso@2899 | 13 |
pankso@9754 | 14 DEPENDS="libusb" |
pascal@16366 | 15 BUILD_DEPENDS="libusb-dev udev-dev" |
pankso@9754 | 16 |
Hans-G?nter@21331 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21331 | 18 |
pankso@2899 | 19 # Rules to configure and make the package. |
pankso@2899 | 20 compile_rules() |
pankso@2899 | 21 { |
Hans-G?nter@21331 | 22 ./configure \ |
Hans-G?nter@21331 | 23 --prefix=/usr \ |
pankso@2899 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21331 | 25 make -j 1 && |
pascal@15482 | 26 make DESTDIR=$DESTDIR install |
pankso@2899 | 27 } |
pankso@2899 | 28 |
pankso@2899 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 30 genpkg_rules() |
pankso@2899 | 31 { |
pankso@2899 | 32 mkdir -p $fs/usr/lib |
pascal@15482 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 34 } |