void-packages/srcpkgs/usbutils/template

34 lines
895 B
Text
Raw Normal View History

# Template file for 'usbutils'
pkgname=usbutils
2011-05-03 13:35:59 +00:00
version=002
2011-01-11 22:30:05 +00:00
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-05-03 13:35:59 +00:00
checksum=75da0785a8402d1c52a65ad8ed95decd96dc7294651f43f11b07c15cdfdce1f8
long_desc="
This package contains utilities for inspecting devices connected to a
USB bus."
Add_dependency run glibc
2010-11-02 10:04:10 +00:00
Add_dependency run libusb
Add_dependency run libusb-compat
2011-07-07 15:50:56 +00:00
Add_dependency build pkg-config
Add_dependency build which
2011-07-02 22:34:59 +00:00
Add_dependency build libusb-devel
Add_dependency build libusb-compat-devel
2011-05-03 13:35:59 +00:00
do_build()
{
rm usb.ids
$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}
}
2011-05-03 13:35:59 +00:00
do_install()
{
2011-05-03 13:35:59 +00:00
make DESTDIR=${DESTDIR} install
install -d ${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}