usbutils: update to 005.

This commit is contained in:
Juan RP 2012-03-13 07:26:49 +01:00
parent 4f377956e5
commit 5561e9beb8

View file

@ -1,12 +1,13 @@
# Template file for 'usbutils'
pkgname=usbutils
version=002
version=005
homepage="http://linux-usb.sourceforge.net/"
#distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
distfiles="http://mirror.anl.gov/pub/linux/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
revision=1
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.bz2"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=75da0785a8402d1c52a65ad8ed95decd96dc7294651f43f11b07c15cdfdce1f8
license="GPL-2"
checksum=a29e924cb726765e1b8d16e79d08aa142480606b46aa8467720b46f5767c1855
long_desc="
This package contains utilities for inspecting devices connected to a
USB bus."
@ -16,17 +17,13 @@ Add_dependency build which
Add_dependency build libusb-devel
Add_dependency build libusb-compat-devel
do_build()
{
do_build() {
rm usb.ids
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
make ${makejobs}
}
do_install()
{
do_install() {
make DESTDIR=${DESTDIR} install
install -d ${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}