void-packages/srcpkgs/usbutils/template

30 lines
871 B
Plaintext
Raw Normal View History

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