wok-current annotate libusb-compat/receipt @ rev 24390
updated c_icap and c_icap-dev (0.5.6 -> 0.5.10)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 17:45:34 2022 +0100 (2022-02-07) |
parents | d17c8727d1ac |
children | a23978bfa665 |
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 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pankso@2899 | 25 # Rules to configure and make the package. |
pankso@2899 | 26 compile_rules() |
pankso@2899 | 27 { |
Hans-G?nter@21331 | 28 ./configure \ |
Hans-G?nter@21331 | 29 --prefix=/usr \ |
pankso@2899 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21331 | 31 make -j 1 && |
pascal@15482 | 32 make DESTDIR=$DESTDIR install |
pankso@2899 | 33 } |
pankso@2899 | 34 |
pankso@2899 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 36 genpkg_rules() |
pankso@2899 | 37 { |
pankso@2899 | 38 mkdir -p $fs/usr/lib |
pascal@15482 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 40 } |