void-packages/srcpkgs/flashrom/template

18 lines
603 B
Bash

# Template file for 'flashrom'
pkgname=flashrom
version=1.3.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
post_patch() {
vsed -i 's/sbin/bin/' Makefile
}