void-packages/srcpkgs/usbutils/template

32 lines
813 B
Text
Raw Normal View History

# Template file for 'usbutils'
pkgname=usbutils
2011-01-11 22:30:05 +00:00
version=001
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-01-11 22:30:05 +00:00
checksum=bf12e47b531c8816bab6fe58bf88b99c5d3752f27683c69ba1590f5947efb38a
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
}