Merge pull request #1734 from thypon/flashrom

flashrom: move to usr/bin.
This commit is contained in:
Juan RP 2015-06-02 23:20:10 +02:00
commit b8441fac84

View File

@ -1,8 +1,8 @@
# Template file for 'flashrom'
pkgname=flashrom
version=0.9.8
revision=1
short_desc="utility for identifying, reading, writing, verifying and erasing flash chips"
revision=2
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
makedepends="pciutils-devel libusb-compat-devel"
hostmakedepends="pkg-config"
@ -11,6 +11,10 @@ license="MIT/X11"
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
checksum=13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934
post_extract() {
sed -i "s:sbin:bin:g" Makefile
}
do_build() {
make PREFIX=/usr ${makejobs} \
CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \