wok-next annotate libusb-compat/receipt @ rev 21442
updated samba (4.6.14 -> 4.12.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:27:22 2020 +0100 (2020-05-05) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
pankso@2899 | 2 |
pankso@2899 | 3 PACKAGE="libusb-compat" |
al@20443 | 4 VERSION="0.1.5" |
pankso@2899 | 5 CATEGORY="system-tools" |
al@21020 | 6 SHORT_DESC="Compatibility layer to convert libusb 0.1 calls into 1.0 equivalents" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
al@20906 | 9 WEB_SITE="https://libusb.info/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libusb-compat.html" |
al@20443 | 11 |
al@20444 | 12 #TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20444 | 13 #WGET_URL="$SF_MIRROR/libusb/$TARBALL" |
al@20444 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20444 | 15 WGET_URL="https://github.com/libusb/libusb-compat-0.1/archive/v$VERSION.tar.gz" |
pankso@2899 | 16 |
al@20444 | 17 BUILD_DEPENDS="automake libtool libusb-dev eudev-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
pankso@9754 | 19 |
al@20443 | 20 compile_rules() { |
al@20444 | 21 ./bootstrap.sh || return 1 |
al@20444 | 22 |
pankso@2899 | 23 ./configure \ |
al@20443 | 24 --disable-static \ |
pankso@2899 | 25 $CONFIGURE_ARGS && |
al@20595 | 26 fix libtool && |
pankso@2899 | 27 make && |
al@20443 | 28 make install |
pankso@2899 | 29 } |
pankso@2899 | 30 |
al@20443 | 31 genpkg_rules() { |
al@20443 | 32 case $PACKAGE in |
al@20443 | 33 libusb-compat) |
al@20443 | 34 copy @std |
al@20443 | 35 DEPENDS="libusb" |
al@20443 | 36 ;; |
al@20443 | 37 *-dev) |
al@20443 | 38 copy @dev |
al@20443 | 39 DEPENDS="libusb-compat eudev-dev" |
al@20443 | 40 ;; |
al@20443 | 41 esac |
pankso@2899 | 42 } |
pankso@2899 | 43 |