void-packages/srcpkgs/usbutils/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

33 lines
895 B
Text

# Template file for 'usbutils'
pkgname=usbutils
version=002
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/$pkgname-$version.tar.bz2"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=75da0785a8402d1c52a65ad8ed95decd96dc7294651f43f11b07c15cdfdce1f8
long_desc="
This package contains utilities for inspecting devices connected to a
USB bus."
Add_dependency run glibc
Add_dependency run libusb
Add_dependency run libusb-compat
Add_dependency build pkg-config
Add_dependency build which
Add_dependency build libusb-devel
Add_dependency build libusb-compat-devel
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()
{
make DESTDIR=${DESTDIR} install
install -d ${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}