wok annotate usbutils/receipt @ rev 1880
Gparted: add desktop icon
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 17 10:40:42 2008 +0000 (2008-12-17) |
parents | a075ff895254 |
children | 27a68753fff8 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
erjo@621 | 4 VERSION="0.73" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Displaying information about USB." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@1771 | 8 DEPENDS="libusb" |
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 |
erjo@621 | 33 } |
erjo@621 | 34 |