wok-current annotate libusb-compat/receipt @ rev 5513
Up: lives (1.3.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 10 19:44:45 2010 +0000 (2010-05-10) |
parents | c60cdc20e4ab |
children | b46075541cb0 |
rev | line source |
---|---|
pankso@2899 | 1 # SliTaz package receipt. |
pankso@2899 | 2 |
pankso@2899 | 3 PACKAGE="libusb-compat" |
pankso@2899 | 4 VERSION="0.1.0" |
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 |