wok annotate usbutils/receipt @ rev 3748
Upgrade: usbutils (0.81 to 0.84)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 14:12:37 2009 +0000 (2009-07-23) |
parents | 82f2f39c93eb |
children | d0e4b9342f68 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
rcx@3748 | 4 VERSION="0.84" |
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/" |
rcx@3748 | 12 WGET_URL="$SF_MIRROR/linux-usb/$TARBALL" |
erjo@621 | 13 |
erjo@621 | 14 # Rules to configure and make the package. |
erjo@621 | 15 compile_rules() |
erjo@621 | 16 { |
erjo@621 | 17 cd $src |
pankso@782 | 18 ./configure \ |
pankso@782 | 19 --prefix=/usr \ |
pankso@782 | 20 --datadir=/usr/share/misc \ |
pascal@1771 | 21 $CONFIGURE_ARGS && |
pascal@1771 | 22 make && |
erjo@621 | 23 make DESTDIR=$PWD/_pkg install |
erjo@621 | 24 } |
erjo@621 | 25 |
erjo@621 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 27 genpkg_rules() |
erjo@621 | 28 { |
rcx@3748 | 29 mkdir -p $fs/usr/share/misc |
erjo@621 | 30 cp -a $_pkg/usr/sbin $fs/usr |
rcx@3748 | 31 cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc |
erjo@621 | 32 } |