void-packages/templates/usbutils/template
Juan RP d59879890b Added usbutils-0.73 template.
--HG--
extra : convert_revision : 2e436812dad21702348de77e9cac201da6a54a3a
2009-03-23 06:03:09 +01:00

31 lines
801 B
Text

# Template file for 'usbutils'
pkgname=usbutils
version=0.73
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--datadir=/usr/share/hwdata --enable-usbmodules
--disable-zlib"
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
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
}