wok-next view libusb-compat/receipt @ rev 20906
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 10 12:53:17 2018 +0300 (2018-08-10) |
parents | 5841522533ec |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libusb.info/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libusb-compat.html"
12 #TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 #WGET_URL="$SF_MIRROR/libusb/$TARBALL"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/libusb/libusb-compat-0.1/archive/v$VERSION.tar.gz"
18 BUILD_DEPENDS="automake libtool libusb-dev eudev-dev"
19 SPLIT="libusb-compat-dev"
21 compile_rules() {
22 ./bootstrap.sh || return 1
24 ./configure \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libusb-compat)
35 copy @std
36 DEPENDS="libusb"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libusb-compat eudev-dev"
41 ;;
42 esac
43 }