wok rev 11044

Up: usbutils to 004.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 08:02:37 2011 +0000 (2011-10-16)
parents bab6e96ebac3
children 8f3891f72b54
files usbutils-dev/receipt usbutils/receipt
line diff
     1.1 --- a/usbutils-dev/receipt	Sun Oct 16 07:54:43 2011 +0000
     1.2 +++ b/usbutils-dev/receipt	Sun Oct 16 08:02:37 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="usbutils-dev"
     1.7 -VERSION="002"
     1.8 +VERSION="004"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Development files for usbutils."
    1.11  MAINTAINER="erjo@slitaz.org"
     2.1 --- a/usbutils/receipt	Sun Oct 16 07:54:43 2011 +0000
     2.2 +++ b/usbutils/receipt	Sun Oct 16 08:02:37 2011 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="usbutils"
     2.7 -VERSION="002"
     2.8 +VERSION="004"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Displaying information about USB."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12 @@ -11,7 +11,7 @@
    2.13  TAGS="usb"
    2.14  BUGS="usb.ids is not gziped and in /usr/share since it's wher udev look for it"
    2.15  
    2.16 -DEPENDS="glibc-base libusb libusb-compat zlib"
    2.17 +DEPENDS="glibc-base libusb libusb-compat zlib usbids"
    2.18  BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
    2.19  
    2.20  # Rules to configure and make the package.
    2.21 @@ -29,11 +29,10 @@
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr/share
    2.26 +	mkdir -p $fs/usr
    2.27  	# We have lsusb in Busybox
    2.28  	cp -a $_pkg/usr/bin $fs/usr
    2.29  	rm $fs/usr/bin/lsusb*
    2.30  	cp -a $_pkg/usr/sbin $fs/usr
    2.31 -	cp -a $_pkg/usr/share/usb.ids $fs/usr/share
    2.32  	sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
    2.33  }