2009-03-23 05:03:09 +00:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2009-09-11 16:08:03 +00:00
|
|
|
version=0.86
|
2009-10-17 01:16:09 +00:00
|
|
|
revision=2
|
2009-03-23 05:03:09 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
2009-05-05 01:21:16 +00:00
|
|
|
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
2009-03-23 05:03:09 +00:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-09-11 16:08:03 +00:00
|
|
|
checksum=b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4
|
2009-03-23 05:03:09 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
2009-04-26 22:12:01 +00:00
|
|
|
Add_dependency full libusb
|
2009-03-23 05:03:09 +00:00
|
|
|
Add_dependency full libusb-compat
|
|
|
|
Add_dependency build which
|
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
cd $wrksrc
|
2009-05-05 01:21:16 +00:00
|
|
|
rm usb.ids
|
2009-10-17 01:16:09 +00:00
|
|
|
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
|
2009-03-23 05:03:09 +00:00
|
|
|
}
|
2009-09-30 11:45:43 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
|
|
mv ${DESTDIR}/usr/share/hwdata/pkgconfig ${DESTDIR}/usr/lib
|
|
|
|
}
|