wok annotate usbutils/receipt @ rev 1503
Up libgio (2.16.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 15:59:42 2008 +0000 (2008-10-05) |
parents | 7ccdeadb6ea4 |
children | 5379cbc00d16 |
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" |
erjo@621 | 8 DEPENDS="" |
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 \ |
pankso@782 | 22 $CONFIGURE_ARGS |
erjo@621 | 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 |