void-packages/srcpkgs/usbutils/template

25 lines
800 B
Plaintext
Raw Normal View History

# Template file for 'usbutils'
pkgname=usbutils
2014-02-11 18:01:24 +01:00
version=007
2012-05-24 08:08:24 +02:00
revision=1
build_style=gnu-configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
hostmakedepends="pkg-config which hwids"
2014-02-11 18:01:24 +01:00
makedepends="libusb-devel hwids"
depends="hwids"
2012-03-13 07:26:49 +01:00
homepage="http://linux-usb.sourceforge.net/"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-03-13 07:26:49 +01:00
license="GPL-2"
2012-07-08 17:32:20 +02:00
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/${pkgname}-${version}.tar.xz"
2014-02-11 18:01:24 +01:00
checksum=7593a01724bbc0fd9fe48e62bc721ceb61c76654f1d7b231b3c65f6dfbbaefa4
2012-05-24 08:08:24 +02:00
post_install() {
# Remove lsusb.py - avoid useless python scripts
rm -f ${DESTDIR}/usr/bin/lsusb.py
# Remove usb ids - provided by hwids
rm -rf ${DESTDIR}/usr/share/hwdata
# Remove update-usbids.sh - handled by hwids
rm -f ${DESTDIR}/usr/sbin/update-usbids.sh
}