void-packages/srcpkgs/usbutils/template

25 lines
796 B
Text
Raw Normal View History

# Template file for 'usbutils'
pkgname=usbutils
2014-11-12 08:00:18 +00:00
version=008
revision=1
build_style=gnu-configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
2014-11-12 08:00:18 +00:00
hostmakedepends="pkg-config"
makedepends="libusb-devel libudev-devel"
depends="hwids"
2012-03-13 06:26:49 +00:00
homepage="http://linux-usb.sourceforge.net/"
short_desc="Linux USB utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-03-13 06:26:49 +00:00
license="GPL-2"
2012-07-08 15:32:20 +00:00
distfiles="${KERNEL_SITE}/utils/usb/$pkgname/${pkgname}-${version}.tar.xz"
2014-11-12 08:00:18 +00:00
checksum=44741af0bae9d402a0ef160a29b2fa700bb656ab5e0a4b3343d51249c2a44c8c
2012-05-24 06:08:24 +00: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
}