wok-next annotate libusb-compat/receipt @ rev 21001

Typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 05 14:47:39 2018 +0300 (2018-10-05)
parents 5841522533ec
children f48456621a9d
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@20443 6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents"
pankso@2899 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
al@20906 9 WEB_SITE="https://libusb.info/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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
al@20444 18 BUILD_DEPENDS="automake libtool libusb-dev eudev-dev"
al@20443 19 SPLIT="libusb-compat-dev"
pankso@9754 20
al@20443 21 compile_rules() {
al@20444 22 ./bootstrap.sh || return 1
al@20444 23
pankso@2899 24 ./configure \
al@20443 25 --disable-static \
pankso@2899 26 $CONFIGURE_ARGS &&
al@20595 27 fix libtool &&
pankso@2899 28 make &&
al@20443 29 make install
pankso@2899 30 }
pankso@2899 31
al@20443 32 genpkg_rules() {
al@20443 33 case $PACKAGE in
al@20443 34 libusb-compat)
al@20443 35 copy @std
al@20443 36 DEPENDS="libusb"
al@20443 37 ;;
al@20443 38 *-dev)
al@20443 39 copy @dev
al@20443 40 DEPENDS="libusb-compat eudev-dev"
al@20443 41 ;;
al@20443 42 esac
pankso@2899 43 }
pankso@2899 44