wok-next view libusb/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 23982d05637c
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libusb"
4 VERSION="1.0.22"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library used by some applications for USB device access"
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.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="$PACKAGE-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 }