wok-next view libusb/receipt @ rev 20749
pcre package was split into separate libs. Update the dependencies of the packages that previously depended on pcre.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 01 00:47:43 2018 +0300 (2018-06-01) |
parents | 0e7893ac206d |
children | e7a485521d6a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libusb"
4 VERSION="1.0.21"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library used by some applications for USB device access"
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.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://github.com/libusb/libusb/releases/download/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="eudev-dev"
16 SPLIT="libusb-dev"
18 compile_rules() {
19 sed -i "s/^PROJECT_LOGO/#&/" doc/doxygen.cfg.in
21 # Results are unstable, please keep `make -j1`
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make -j1 &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libusb)
33 copy *.so*
34 DEPENDS="eudev"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libusb eudev-dev"
39 ;;
40 esac
41 }