31 lines
813 B
Text
31 lines
813 B
Text
# Template file for 'usbutils'
|
|
pkgname=usbutils
|
|
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>"
|
|
checksum=bf12e47b531c8816bab6fe58bf88b99c5d3752f27683c69ba1590f5947efb38a
|
|
long_desc="
|
|
This package contains utilities for inspecting devices connected to a
|
|
USB bus."
|
|
|
|
Add_dependency run glibc
|
|
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
|
|
}
|