wok-next view libusb-compat/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 6c73b944e8dd |
children | a3c581bf52b8 |
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="http://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 }