wok-next annotate libusb-compat/receipt @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
parents | 50aa1dfa0942 |
children | 8d6f480bf664 |
rev | line source |
---|---|
pankso@2899 | 1 # SliTaz package receipt. |
pankso@2899 | 2 |
pankso@2899 | 3 PACKAGE="libusb-compat" |
erjo@5701 | 4 VERSION="0.1.3" |
pankso@2899 | 5 CATEGORY="system-tools" |
pankso@2899 | 6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents." |
pankso@2899 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2899 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2899 | 9 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@2899 | 10 WGET_URL="$SF_MIRROR/libusb/$TARBALL" |
pankso@2899 | 11 |
pankso@9754 | 12 DEPENDS="libusb" |
pankso@9754 | 13 BUILD_DEPENDS="libusb-dev" |
pankso@9754 | 14 |
pankso@2899 | 15 # Rules to configure and make the package. |
pankso@2899 | 16 compile_rules() |
pankso@2899 | 17 { |
pankso@2899 | 18 cd $src |
pankso@2899 | 19 ./configure \ |
pankso@2899 | 20 --prefix=/usr \ |
pankso@2899 | 21 $CONFIGURE_ARGS && |
pankso@2899 | 22 make && |
pankso@2899 | 23 make DESTDIR=$PWD/_pkg install |
pankso@2899 | 24 } |
pankso@2899 | 25 |
pankso@2899 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 27 genpkg_rules() |
pankso@2899 | 28 { |
pankso@2899 | 29 mkdir -p $fs/usr/lib |
pankso@2899 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 31 } |
pankso@2899 | 32 |