wok-4.x annotate usbutils/receipt @ rev 2506
newt: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 12:31:37 2009 +0000 (2009-03-16) |
parents | 5379cbc00d16 |
children | 82f2f39c93eb |
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@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 |
erjo@621 | 33 } |
erjo@621 | 34 |