void-packages/srcpkgs/usbutils/template

33 lines
824 B
Text
Raw Normal View History

# Template file for 'usbutils'
pkgname=usbutils
2010-11-02 10:04:10 +00:00
version=0.91
revision=1
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$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>"
2010-11-02 10:04:10 +00:00
checksum=c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46
long_desc="
This package contains utilities for inspecting devices connected to a
USB bus."
Add_dependency run glibc
2010-11-02 10:04:10 +00:00
Add_dependency run libusb
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()
{
install -d ${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}