25 lines
885 B
Bash
25 lines
885 B
Bash
# Template file for 'usbutils'
|
|
pkgname=usbutils
|
|
version=010
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel libusb-devel"
|
|
depends="hwids"
|
|
short_desc="Linux USB utilities"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://linux-usb.sourceforge.net/"
|
|
#changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS"
|
|
distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz"
|
|
checksum=61c7364bb4986fb05e5067e4ac5585b1299b664c57f761caecd2e9e724794a19
|
|
|
|
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
|
|
}
|