void-packages/srcpkgs/usbutils/template

23 lines
772 B
Bash

# Template file for 'usbutils'
pkgname=usbutils
version=015
revision=1
build_style=gnu-configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
hostmakedepends="automake libtool pkg-config"
makedepends="eudev-libudev-devel libusb-devel"
depends="hwids"
short_desc="Linux USB utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/gregkh/usbutils"
changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS"
distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz"
checksum=c3b451bb1f4ff9f6356cac5a6956a9ac8e85d81651af56a29e689f94fa6fda6e
replaces="usbhid-dump<=1.4_1"
post_install() {
# Remove lsusb.py - avoid useless python scripts
rm -f ${DESTDIR}/usr/bin/lsusb.py
}