wok annotate libusb/receipt @ rev 640
Add: libusb (usbutils + sane dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 02:02:17 2008 +0200 (2008-04-22) |
parents | |
children | b1c755879a00 |
rev | line source |
---|---|
pankso@640 | 1 # SliTaz package receipt. |
pankso@640 | 2 |
pankso@640 | 3 PACKAGE="libusb" |
pankso@640 | 4 VERSION="0.1.12" |
pankso@640 | 5 CATEGORY="system-tools" |
pankso@640 | 6 SHORT_DESC="USB accedd library." |
pankso@640 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@640 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@640 | 9 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@640 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@640 | 11 |
pankso@640 | 12 # Rules to configure and make the package. |
pankso@640 | 13 compile_rules() |
pankso@640 | 14 { |
pankso@640 | 15 cd $src |
pankso@640 | 16 ./configure \ |
pankso@640 | 17 --prefix=/usr \ |
pankso@640 | 18 --infodir=/usr/share/info \ |
pankso@640 | 19 --mandir=/usr/share/man \ |
pankso@640 | 20 $CONFIGURE_ARGS |
pankso@640 | 21 make |
pankso@640 | 22 make DESTDIR=$PWD/_pkg install |
pankso@640 | 23 } |
pankso@640 | 24 |
pankso@640 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@640 | 26 genpkg_rules() |
pankso@640 | 27 { |
pankso@640 | 28 mkdir -p $fs/usr/lib |
pankso@640 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@640 | 30 } |
pankso@640 | 31 |