wok-current annotate libusb-compat/receipt @ rev 6128
add missings Deps
author | xfred@localhost |
---|---|
date | Mon Sep 06 16:47:09 2010 +0000 (2010-09-06) |
parents | 15d1eba57fcf |
children | 50aa1dfa0942 |
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" |
pascal@2903 | 8 SUGGESTED="libusb" |
pankso@2899 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2899 | 10 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@2899 | 11 WGET_URL="$SF_MIRROR/libusb/$TARBALL" |
pankso@2899 | 12 |
pankso@2899 | 13 # Rules to configure and make the package. |
pankso@2899 | 14 compile_rules() |
pankso@2899 | 15 { |
pankso@2899 | 16 cd $src |
pankso@2899 | 17 ./configure \ |
pankso@2899 | 18 --prefix=/usr \ |
pankso@2899 | 19 $CONFIGURE_ARGS && |
pankso@2899 | 20 make && |
pankso@2899 | 21 make DESTDIR=$PWD/_pkg install |
pankso@2899 | 22 } |
pankso@2899 | 23 |
pankso@2899 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 25 genpkg_rules() |
pankso@2899 | 26 { |
pankso@2899 | 27 mkdir -p $fs/usr/lib |
pankso@2899 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 29 } |
pankso@2899 | 30 |