void-packages/srcpkgs/usb-modeswitch/template

21 lines
722 B
Bash

# Template file for 'usb-modeswitch'
pkgname=usb-modeswitch
version=2.6.0
revision=2
build_style=gnu-makefile
conf_files="/etc/usb_modeswitch.conf"
make_install_args="SBINDIR=/usr/bin UDEVDIR=/usr/lib/udev"
hostmakedepends="pkg-config tcl"
makedepends="libusb-devel"
depends="tcl ${pkgname}-data"
short_desc="Mode switching tool for controlling multi-mode USB devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, BSD-2-Clause"
homepage="https://www.draisberghof.de/usb_modeswitch/"
distfiles="https://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${version}.tar.bz2"
checksum=c215236e6bada6e659fc195a31d611ea298a4bdb4d57a0d68c553b56585f8ba3
post_install() {
vlicense COPYING LICENSE
}