wok annotate usbutils/receipt @ rev 11046
usbutils: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 22:41:07 2011 +0000 (2011-10-16) |
parents | 7ce14414626f |
children | fd59449e3608 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
slaxemulator@11044 | 4 VERSION="004" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Displaying information about USB." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pankso@9804 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@621 | 9 WEB_SITE="http://linux-usb.sourceforge.net/" |
slaxemulator@11046 | 10 #WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL" |
slaxemulator@11046 | 11 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/usb/$PACKAGE/$TARBALL" |
jozee@4974 | 12 TAGS="usb" |
slaxemulator@11046 | 13 BUGS="usb.ids is not gziped and in /usr/share since it's where udev look for it" |
erjo@621 | 14 |
slaxemulator@11044 | 15 DEPENDS="glibc-base libusb libusb-compat zlib usbids" |
slaxemulator@10403 | 16 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" |
slaxemulator@10403 | 17 |
erjo@621 | 18 # Rules to configure and make the package. |
erjo@621 | 19 compile_rules() |
erjo@621 | 20 { |
erjo@621 | 21 cd $src |
pankso@782 | 22 ./configure \ |
pankso@782 | 23 --prefix=/usr \ |
slaxemulator@10077 | 24 --libdir=/usr/lib \ |
pankso@10401 | 25 --datadir=/usr/share \ |
slaxemulator@10077 | 26 $CONFIGURE_ARGS && |
pankso@9804 | 27 make && make install |
erjo@621 | 28 } |
erjo@621 | 29 |
erjo@621 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 31 genpkg_rules() |
erjo@621 | 32 { |
slaxemulator@11044 | 33 mkdir -p $fs/usr |
pankso@9804 | 34 # We have lsusb in Busybox |
pankso@10400 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@10400 | 36 rm $fs/usr/bin/lsusb* |
erjo@621 | 37 cp -a $_pkg/usr/sbin $fs/usr |
pankso@10400 | 38 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices |
erjo@621 | 39 } |