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

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 28928c1796dd
children 6c73b944e8dd
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@20443 9 WEB_SITE="http://libusb.sourceforge.net/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libusb-compat.html"
al@20443 11
pankso@2899 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2899 13 WGET_URL="$SF_MIRROR/libusb/$TARBALL"
pankso@2899 14
al@20443 15 BUILD_DEPENDS="libusb-dev eudev-dev"
al@20443 16 SPLIT="libusb-compat-dev"
pankso@9754 17
al@20443 18 compile_rules() {
pankso@2899 19 ./configure \
al@20443 20 --disable-static \
pankso@2899 21 $CONFIGURE_ARGS &&
pankso@2899 22 make &&
al@20443 23 make install
pankso@2899 24 }
pankso@2899 25
al@20443 26 genpkg_rules() {
al@20443 27 case $PACKAGE in
al@20443 28 libusb-compat)
al@20443 29 copy @std
al@20443 30 DEPENDS="libusb"
al@20443 31 ;;
al@20443 32 *-dev)
al@20443 33 copy @dev
al@20443 34 DEPENDS="libusb-compat eudev-dev"
al@20443 35 ;;
al@20443 36 esac
pankso@2899 37 }
pankso@2899 38