From aaa42a320e9ed4a55d60eff3b22900c44493925e Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 11 Apr 2013 17:19:33 +0200 Subject: [PATCH] New package: flashrom 0.9.6.1 --- srcpkgs/flashrom/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/flashrom/template diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template new file mode 100644 index 00000000000..8479ef9ebe9 --- /dev/null +++ b/srcpkgs/flashrom/template @@ -0,0 +1,22 @@ +# Template file for 'flashrom' +pkgname=flashrom +version=0.9.6.1 +revision=1 +short_desc="utility for identifying, reading, writing, verifying and erasing flash chips" +maintainer="pancake " +makedepends="pciutils-devel" +homepage="http://www.flashrom.org" +license="MIT/X11" +distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2 +checksum=6f7b588cce74c90b4fe9c9c794de105de76e0323442fb5770b1aeab81e9d560a + +do_build() { + make PREFIX=/usr ${makejobs} \ + CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \ + CONFIG_ATAHPT=no CONFIG_DRKAISER=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no \ + CONFIG_NICINTEL=no CONFIG_NICINTEL_SPI=no CONFIG_OGP_SPI=no CONFIG_SATAMV=no +} + +do_install() { + make install DESTDIR=${DESTDIR} PREFIX=/usr +}