2009-03-23 05:03:09 +00:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2010-11-02 10:04:10 +00:00
|
|
|
version=0.91
|
2010-11-04 12:55:30 +00:00
|
|
|
revision=1
|
2010-03-18 20:29:41 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.gz"
|
2009-03-23 05:03:09 +00:00
|
|
|
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>"
|
2010-11-02 10:04:10 +00:00
|
|
|
checksum=c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46
|
2009-03-23 05:03:09 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
2010-01-07 20:29:25 +00:00
|
|
|
Add_dependency run glibc
|
2010-11-02 10:04:10 +00:00
|
|
|
Add_dependency run libusb
|
2010-01-07 20:29:25 +00:00
|
|
|
Add_dependency run libusb-compat
|
2009-03-23 05:03:09 +00:00
|
|
|
Add_dependency build which
|
2010-01-07 20:29:25 +00:00
|
|
|
Add_dependency build libusb-compat-devel
|
2009-03-23 05:03:09 +00:00
|
|
|
|
|
|
|
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()
|
|
|
|
{
|
2010-11-04 12:55:30 +00:00
|
|
|
install -d ${DESTDIR}/usr/lib
|
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
2009-09-30 11:45:43 +00:00
|
|
|
}
|