usbutils: update to 002.
This commit is contained in:
parent
3a980fc2b4
commit
b360fdf7dd
1 changed files with 8 additions and 7 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'usbutils'
|
||||
pkgname=usbutils
|
||||
version=001
|
||||
version=002
|
||||
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
||||
build_style=custom-install
|
||||
short_desc="Linux USB utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=bf12e47b531c8816bab6fe58bf88b99c5d3752f27683c69ba1590f5947efb38a
|
||||
checksum=75da0785a8402d1c52a65ad8ed95decd96dc7294651f43f11b07c15cdfdce1f8
|
||||
long_desc="
|
||||
This package contains utilities for inspecting devices connected to a
|
||||
USB bus."
|
||||
|
@ -17,15 +16,17 @@ Add_dependency run libusb-compat
|
|||
Add_dependency build which
|
||||
Add_dependency build libusb-compat-devel
|
||||
|
||||
pre_configure()
|
||||
do_build()
|
||||
{
|
||||
cd $wrksrc
|
||||
rm usb.ids
|
||||
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
|
||||
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
post_install()
|
||||
do_install()
|
||||
{
|
||||
make DESTDIR=${DESTDIR} install
|
||||
install -d ${DESTDIR}/usr/lib
|
||||
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue