wok-next annotate 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 |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
pankso@640 | 2 |
pankso@640 | 3 PACKAGE="libusb" |
al@20443 | 4 VERSION="1.0.21" |
pankso@640 | 5 CATEGORY="system-tools" |
al@19691 | 6 SHORT_DESC="Library used by some applications for USB device access" |
pankso@640 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
al@19691 | 9 WEB_SITE="http://libusb.info/" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libusb.html" |
pankso@640 | 11 |
al@19691 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20443 | 13 WGET_URL="https://github.com/libusb/libusb/releases/download/v$VERSION/$TARBALL" |
al@19691 | 14 |
al@19691 | 15 BUILD_DEPENDS="eudev-dev" |
al@20443 | 16 SPLIT="libusb-dev" |
pascal@16365 | 17 |
al@20443 | 18 compile_rules() { |
al@20443 | 19 sed -i "s/^PROJECT_LOGO/#&/" doc/doxygen.cfg.in |
al@20443 | 20 |
al@19694 | 21 # Results are unstable, please keep `make -j1` |
al@19691 | 22 ./configure \ |
al@19691 | 23 --disable-static \ |
al@19691 | 24 $CONFIGURE_ARGS && |
al@20595 | 25 fix libtool && |
al@20595 | 26 make -j1 && |
al@20595 | 27 make install |
pankso@640 | 28 } |
pankso@640 | 29 |
al@20443 | 30 genpkg_rules() { |
al@20443 | 31 case $PACKAGE in |
al@20443 | 32 libusb) |
al@20443 | 33 copy *.so* |
al@20443 | 34 DEPENDS="eudev" |
al@20443 | 35 ;; |
al@20443 | 36 *-dev) |
al@20443 | 37 copy @dev |
al@20443 | 38 DEPENDS="libusb eudev-dev" |
al@20443 | 39 ;; |
al@20443 | 40 esac |
pankso@640 | 41 } |