diff --git a/templates/usbutils/template b/templates/usbutils/template index 377afedcdd..4d8718278e 100644 --- a/templates/usbutils/template +++ b/templates/usbutils/template @@ -1,13 +1,12 @@ # Template file for 'usbutils' pkgname=usbutils -version=0.73 -revision=1 +version=0.81 distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz" build_style=gnu_configure -configure_args="--datadir=/usr/share/hwdata --enable-usbmodules --disable-zlib" +configure_args="--datadir=/usr/share/hwdata --disable-zlib" short_desc="Linux USB utilities" maintainer="Juan RP " -checksum=2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4 +checksum=0d7e7924864559b5787461f95e1c2f41a3697a44eaa8e4cbc9a0cbd36dbd61ae long_desc=" This package contains utilities for inspecting devices connected to a USB bus." @@ -21,12 +20,6 @@ Add_dependency build wget pre_configure() { cd $wrksrc - ./update-usbids.sh - sed -i 's|DEST=|&/usr/share/hwdata/|' update-usbids.sh -} - -post_install() -{ - install -D -m755 $wrksrc/update-usbids.sh \ - ${DESTDIR}/usr/sbin/update-usbids + rm usb.ids + wget http://www.linux-usb.org/usb.ids }