void-packages/templates/usbutils/template

32 lines
801 B
Text
Raw Normal View History

# 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
}