wok-6.x rev 10722

usbutils: fix usb.ids path (see BUGS in receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 00:27:29 2011 +0200 (2011-05-29)
parents 576174991e05
children c575c4db956f
files usbutils/receipt
line diff
     1.1 --- a/usbutils/receipt	Sat May 28 18:20:04 2011 +0000
     1.2 +++ b/usbutils/receipt	Sun May 29 00:27:29 2011 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  WEB_SITE="http://linux-usb.sourceforge.net/"
     1.5  WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
     1.6  TAGS="usb"
     1.7 +BUGS="usb.ids is not gziped and in /usr/share since it's wher udev look for it"
     1.8  
     1.9  DEPENDS="glibc-base libusb libusb-compat zlib"
    1.10  BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
    1.11 @@ -28,11 +29,11 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/share/misc
    1.16 +	mkdir -p $fs/usr/share
    1.17  	# We have lsusb in Busybox
    1.18  	cp -a $_pkg/usr/bin $fs/usr
    1.19  	rm $fs/usr/bin/lsusb*
    1.20  	cp -a $_pkg/usr/sbin $fs/usr
    1.21 -	cp -a $_pkg/usr/share/usb.ids $fs/usr/share/misc
    1.22 +	cp -a $_pkg/usr/share/usb.ids $fs/usr/share
    1.23  	sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
    1.24  }