wok-next rev 9804
usbutils: fix build by using latest version from kernel.org
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 19:44:44 2011 +0200 (2011-05-14) |
parents | 62744eb00710 |
children | 5fd3793c22cb |
files | usbutils-dev/receipt usbutils/receipt |
line diff
1.1 --- a/usbutils-dev/receipt Sat May 14 14:33:10 2011 +0200 1.2 +++ b/usbutils-dev/receipt Sat May 14 19:44:44 2011 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="usbutils-dev" 1.7 -VERSION="0.91" 1.8 +VERSION="002" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Development files for usbutils." 1.11 MAINTAINER="erjo@slitaz.org"
2.1 --- a/usbutils/receipt Sat May 14 14:33:10 2011 +0200 2.2 +++ b/usbutils/receipt Sat May 14 19:44:44 2011 +0200 2.3 @@ -1,13 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="usbutils" 2.7 -VERSION="0.91" 2.8 +VERSION="002" 2.9 CATEGORY="system-tools" 2.10 SHORT_DESC="Displaying information about USB." 2.11 MAINTAINER="erjo@slitaz.org" 2.12 DEPENDS="glibc-base libusb libusb-compat zlib" 2.13 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" 2.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.16 WEB_SITE="http://linux-usb.sourceforge.net/" 2.17 WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL" 2.18 TAGS="usb" 2.19 @@ -18,17 +18,16 @@ 2.20 cd $src 2.21 ./configure \ 2.22 --prefix=/usr \ 2.23 - --datadir=/usr/share/misc \ 2.24 - --libdir=/usr/lib \ 2.25 - $CONFIGURE_ARGS && 2.26 - make && 2.27 - make DESTDIR=$PWD/_pkg install 2.28 + --libdir=/usr/lib && 2.29 + make && make install 2.30 } 2.31 2.32 # Rules to gen a SliTaz package suitable for Tazpkg. 2.33 genpkg_rules() 2.34 { 2.35 mkdir -p $fs/usr/share/misc 2.36 + # We have lsusb in Busybox 2.37 + #cp -a $_pkg/usr/bin $fs/usr 2.38 cp -a $_pkg/usr/sbin $fs/usr 2.39 - cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc 2.40 + cp -a $_pkg/usr/share/usb.ids.gz $fs/usr/share 2.41 }