wok-stable annotate usbutils/receipt @ rev 3421
Add: python-bpython (0.9.3)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 13 01:40:22 2009 +0000 (2009-06-13) |
parents | 27a68753fff8 |
children | 5b1a7cc13ca0 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
pankso@2900 | 4 VERSION="0.81" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Displaying information about USB." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2438 | 8 DEPENDS="libusb zlib" |
erjo@621 | 9 BUILD_DEPENDS="libusb-dev" |
erjo@621 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 11 WEB_SITE="http://linux-usb.sourceforge.net/" |
erjo@621 | 12 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL |
erjo@621 | 13 http://surfnet.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL" |
erjo@621 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
erjo@621 | 18 cd $src |
pankso@782 | 19 ./configure \ |
pankso@782 | 20 --prefix=/usr \ |
pankso@782 | 21 --datadir=/usr/share/misc \ |
pascal@1771 | 22 $CONFIGURE_ARGS && |
pascal@1771 | 23 make && |
erjo@621 | 24 make DESTDIR=$PWD/_pkg install |
erjo@621 | 25 } |
erjo@621 | 26 |
erjo@621 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 28 genpkg_rules() |
erjo@621 | 29 { |
erjo@621 | 30 mkdir -p $fs/usr/share |
erjo@621 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pankso@782 | 32 cp -a $_pkg/usr/share/misc $fs/usr/share |
pankso@2900 | 33 # Compress IDS db. |
pankso@2900 | 34 gzip $fs/usr/share/misc/usb.ids |
erjo@621 | 35 } |
erjo@621 | 36 |