wok-next annotate libusb/receipt @ rev 20924

paramiko -> python-paramiko
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 16:45:51 2018 +0300 (2018-08-22)
parents e7a485521d6a
children d5aab818505e
rev   line source
al@20443 1 # SliTaz package receipt v2.
pankso@640 2
pankso@640 3 PACKAGE="libusb"
al@20905 4 VERSION="1.0.22"
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@20906 9 WEB_SITE="https://libusb.info/"
al@20905 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20905 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 }