void-packages/srcpkgs/usbutils/template
Juan RP d7e77c3454 usbutils: clean up deps, bumprev.
--HG--
extra : convert_revision : 4af7c35125169ab30a98554cb0f8d19d9e84e796
2010-01-07 21:29:25 +01:00

31 lines
799 B
Text

# Template file for 'usbutils'
pkgname=usbutils
version=0.86
revision=3
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4
long_desc="
This package contains utilities for inspecting devices connected to a
USB bus."
Add_dependency run glibc
Add_dependency run libusb-compat
Add_dependency build which
Add_dependency build libusb-compat-devel
pre_configure()
{
cd $wrksrc
rm usb.ids
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
}
post_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/share/hwdata/pkgconfig ${DESTDIR}/usr/lib
}