wok-next view libusb-compat/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | f48456621a9d |
children |
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 convert libusb 0.1 calls into 1.0 equivalents"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libusb.info/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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"
17 BUILD_DEPENDS="automake libtool libusb-dev eudev-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./bootstrap.sh || return 1
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libusb-compat)
34 copy @std
35 DEPENDS="libusb"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libusb-compat eudev-dev"
40 ;;
41 esac
42 }