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

python-pip and setuptools are parts of python package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 26 04:46:49 2018 +0200 (2018-02-26)
parents 0e7893ac206d
children 5841522533ec
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@20444 9 WEB_SITE="http://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 &&
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