wok annotate usbutils/receipt @ rev 7530
sudoku,nanochess:modify to enable open by firefox,and add chinese Name
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Mon Dec 06 14:58:44 2010 +0800 (2010-12-06) |
parents | ec628ecabab2 |
children | fad48b58dd83 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
slaxemulator@7311 | 4 VERSION="0.91" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Displaying information about USB." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
rcx@3749 | 8 DEPENDS="glibc-base libusb libusb-compat zlib" |
slaxemulator@6521 | 9 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" |
erjo@621 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 11 WEB_SITE="http://linux-usb.sourceforge.net/" |
slaxemulator@6521 | 12 WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL" |
jozee@4974 | 13 TAGS="usb" |
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 \ |
erjo@5699 | 22 --libdir=/usr/lib \ |
pascal@1771 | 23 $CONFIGURE_ARGS && |
pascal@1771 | 24 make && |
erjo@621 | 25 make DESTDIR=$PWD/_pkg install |
erjo@621 | 26 } |
erjo@621 | 27 |
erjo@621 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 29 genpkg_rules() |
erjo@621 | 30 { |
rcx@3748 | 31 mkdir -p $fs/usr/share/misc |
erjo@621 | 32 cp -a $_pkg/usr/sbin $fs/usr |
rcx@3748 | 33 cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc |
erjo@621 | 34 } |