void-packages/srcpkgs/minipro/template

26 lines
751 B
Bash

# Template file for 'minipro'
pkgname=minipro
version=0.6
revision=1
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config which"
makedepends="libusb-devel"
short_desc="Program for controlling the MiniPRO TL866xx series of chip programmers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/DavidGriffith/minipro"
distfiles="https://gitlab.com/DavidGriffith/minipro/-/archive/${version}/minipro-${version}.tar.gz"
checksum=16b4220b5fc07dddc4d1d49cc181a2c6a735c833cc27f24ab73eac2572c9304a
post_patch() {
vsed -i Makefile -e 's/CC=gcc/CC?=gcc/'
}
post_install() {
vmkdir usr/lib/udev/rules.d
vcopy "udev/*" usr/lib/udev/rules.d
vcompletion bash_completion.d/minipro bash
}