2009-03-23 05:03:09 +00:00
|
|
|
# Template file for 'usbutils'
|
|
|
|
pkgname=usbutils
|
2012-03-13 06:26:49 +00:00
|
|
|
version=005
|
|
|
|
homepage="http://linux-usb.sourceforge.net/"
|
2012-02-21 09:37:16 +00:00
|
|
|
#distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
|
2012-03-13 06:26:49 +00:00
|
|
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2009-03-23 05:03:09 +00:00
|
|
|
short_desc="Linux USB utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-13 06:26:49 +00:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=a29e924cb726765e1b8d16e79d08aa142480606b46aa8467720b46f5767c1855
|
2009-03-23 05:03:09 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus."
|
|
|
|
|
2011-07-07 15:50:56 +00:00
|
|
|
Add_dependency build pkg-config
|
2009-03-23 05:03:09 +00:00
|
|
|
Add_dependency build which
|
2011-07-02 22:34:59 +00:00
|
|
|
Add_dependency build libusb-devel
|
2010-01-07 20:29:25 +00:00
|
|
|
Add_dependency build libusb-compat-devel
|
2009-03-23 05:03:09 +00:00
|
|
|
|
2012-03-13 06:26:49 +00:00
|
|
|
do_build() {
|
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
|
2011-05-03 13:35:59 +00:00
|
|
|
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
|
|
|
|
make ${makejobs}
|
2009-03-23 05:03:09 +00:00
|
|
|
}
|
2009-09-30 11:45:43 +00:00
|
|
|
|
2012-03-13 06:26:49 +00:00
|
|
|
do_install() {
|
2011-05-03 13:35:59 +00:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2009-09-30 11:45:43 +00:00
|
|
|
}
|