2009-03-23 06:03:09 +01:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2011-05-03 15:35:59 +02:00
|
|
|
version=002
|
2011-01-11 23:30:05 +01:00
|
|
|
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
|
2009-03-23 06:03:09 +01:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-03 15:35:59 +02:00
|
|
|
checksum=75da0785a8402d1c52a65ad8ed95decd96dc7294651f43f11b07c15cdfdce1f8
|
2009-03-23 06:03:09 +01:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
2010-01-07 21:29:25 +01:00
|
|
|
Add_dependency run glibc
|
2010-11-02 11:04:10 +01:00
|
|
|
Add_dependency run libusb
|
2010-01-07 21:29:25 +01:00
|
|
|
Add_dependency run libusb-compat
|
2011-07-07 17:50:56 +02:00
|
|
|
Add_dependency build pkg-config
|
2009-03-23 06:03:09 +01:00
|
|
|
Add_dependency build which
|
2011-07-03 00:34:59 +02:00
|
|
|
Add_dependency build libusb-devel
|
2010-01-07 21:29:25 +01:00
|
|
|
Add_dependency build libusb-compat-devel
|
2009-03-23 06:03:09 +01:00
|
|
|
|
2011-05-03 15:35:59 +02:00
|
|
|
do_build()
|
2009-03-23 06:03:09 +01:00
|
|
|
{
|
2009-05-05 03:21:16 +02:00
|
|
|
rm usb.ids
|
2009-10-17 03:16:09 +02:00
|
|
|
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
|
2011-05-03 15:35:59 +02:00
|
|
|
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
|
|
|
|
make ${makejobs}
|
2009-03-23 06:03:09 +01:00
|
|
|
}
|
2009-09-30 13:45:43 +02:00
|
|
|
|
2011-05-03 15:35:59 +02:00
|
|
|
do_install()
|
2009-09-30 13:45:43 +02:00
|
|
|
{
|
2011-05-03 15:35:59 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-11-04 13:55:30 +01:00
|
|
|
install -d ${DESTDIR}/usr/lib
|
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
2009-09-30 13:45:43 +02:00
|
|
|
}
|