2009-03-23 06:03:09 +01:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
|
|
|
version=0.73
|
2009-04-27 00:12:01 +02:00
|
|
|
revision=1
|
2009-03-23 06:03:09 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
2009-04-27 00:12:01 +02:00
|
|
|
configure_args="--datadir=/usr/share/hwdata --enable-usbmodules --disable-zlib"
|
2009-03-23 06:03:09 +01:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4
|
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
2009-04-27 00:12:01 +02:00
|
|
|
Add_dependency full libusb
|
2009-03-23 06:03:09 +01:00
|
|
|
Add_dependency full libusb-compat
|
|
|
|
Add_dependency build which
|
|
|
|
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
|
|
|
|
}
|