wok annotate libusb/receipt @ rev 23900
updated nnn (3.1 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 30 17:38:46 2020 +0100 (2020-07-30) |
parents | 82030d5e8b0a |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@640 | 1 # SliTaz package receipt. |
pankso@640 | 2 |
pankso@640 | 3 PACKAGE="libusb" |
Hans-G?nter@23117 | 4 VERSION="1.0.23" |
pankso@640 | 5 CATEGORY="system-tools" |
pascal@19991 | 6 SHORT_DESC="USB access library." |
pankso@640 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21329 | 9 WEB_SITE="https://libusb.info/" |
Hans-G?nter@21329 | 10 |
pankso@2864 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@23117 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pankso@640 | 13 |
pascal@16365 | 14 DEPENDS="udev" |
pascal@16365 | 15 BUILD_DEPENDS="udev-dev" |
pascal@16365 | 16 |
Hans-G?nter@21329 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21329 | 18 |
pankso@640 | 19 # Rules to configure and make the package. |
pankso@640 | 20 compile_rules() |
pankso@640 | 21 { |
pankso@16079 | 22 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21329 | 23 make -j 1 && |
Hans-G?nter@21329 | 24 make install |
pankso@640 | 25 } |
pankso@640 | 26 |
pankso@640 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@640 | 28 genpkg_rules() |
pankso@640 | 29 { |
pankso@640 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@23117 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@640 | 32 } |