wok-6.x annotate libusb-compat/receipt @ rev 11522
gejengel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 14:21:52 2011 +0100 (2011-12-24) |
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 |