wok-6.x annotate libusb-compat/receipt @ rev 8630
Up: libgudev 166
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:16:51 2011 +0100 (2011-02-15) |
parents | b46075541cb0 |
children | e8976775c42e |
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" |
gokhlayeh@7901 | 8 DEPENDS="libusb" |
gokhlayeh@7901 | 9 BUILD_DEPENDS="libusb" |
pankso@2899 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2899 | 11 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@2899 | 12 WGET_URL="$SF_MIRROR/libusb/$TARBALL" |
pankso@2899 | 13 |
pankso@2899 | 14 # Rules to configure and make the package. |
pankso@2899 | 15 compile_rules() |
pankso@2899 | 16 { |
pankso@2899 | 17 cd $src |
pankso@2899 | 18 ./configure \ |
pankso@2899 | 19 --prefix=/usr \ |
pankso@2899 | 20 $CONFIGURE_ARGS && |
pankso@2899 | 21 make && |
pankso@2899 | 22 make DESTDIR=$PWD/_pkg install |
pankso@2899 | 23 } |
pankso@2899 | 24 |
pankso@2899 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 26 genpkg_rules() |
pankso@2899 | 27 { |
pankso@2899 | 28 mkdir -p $fs/usr/lib |
pankso@2899 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 30 } |
pankso@2899 | 31 |