From 71a93a3db4b4426d87c2dff73f9bcda18ac244ea Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 2 Jun 2015 20:55:01 +0200 Subject: [PATCH] flashrom: move to usr/bin. --- srcpkgs/flashrom/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template index adf4b5e3860..6d7f6c40bea 100644 --- a/srcpkgs/flashrom/template +++ b/srcpkgs/flashrom/template @@ -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 " 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 \