wok rev 10400
usbutils: put ids file in /usr/share/misc and use gzip one. Also include usb-device and hid dump
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 03:05:34 2011 +0200 (2011-05-24) |
parents | 862431c4544e |
children | adf05f8df349 |
files | usbutils/receipt |
line diff
1.1 --- a/usbutils/receipt Tue May 24 02:55:10 2011 +0200 1.2 +++ b/usbutils/receipt Tue May 24 03:05:34 2011 +0200 1.3 @@ -1,5 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 +PACKED_SIZE="172.0K" 1.7 +UNPACKED_SIZE="216.0K" 1.8 PACKAGE="usbutils" 1.9 VERSION="002" 1.10 CATEGORY="system-tools" 1.11 @@ -19,6 +21,7 @@ 1.12 ./configure \ 1.13 --prefix=/usr \ 1.14 --libdir=/usr/lib \ 1.15 + --datadir=/usr/share/misc \ 1.16 $CONFIGURE_ARGS && 1.17 make && make install 1.18 } 1.19 @@ -28,7 +31,9 @@ 1.20 { 1.21 mkdir -p $fs/usr/share/misc 1.22 # We have lsusb in Busybox 1.23 - #cp -a $_pkg/usr/bin $fs/usr 1.24 + cp -a $_pkg/usr/bin $fs/usr 1.25 + rm $fs/usr/bin/lsusb* 1.26 cp -a $_pkg/usr/sbin $fs/usr 1.27 - cp -a $_pkg/usr/share/usb.ids.gz $fs/usr/share 1.28 + cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc 1.29 + sed -i s'/bash/sh/' $fs/usr/bin/usb-devices 1.30 }