diff options
author | Nathan Angelacos <nangel@tetrasec.net> | 2010-08-13 00:53:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-13 07:40:13 +0000 |
commit | 952934d8b0c304ba8710fdebcc707151b26c08c9 (patch) | |
tree | 4af9f87eda449ed9e62fd69b97442b6950af4e47 | |
parent | e5dc46c0d8922d52d27ecf46945fded98c0289a5 (diff) | |
download | aports-952934d8b0c304ba8710fdebcc707151b26c08c9.tar.bz2 aports-952934d8b0c304ba8710fdebcc707151b26c08c9.tar.xz |
testing/flashrom: new aport
A utility for identifying, reading, writing, verifying and erasing flash chips
http://www.flashrom.org/Flashrom
-rw-r--r-- | testing/flashrom/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/flashrom/APKBUILD b/testing/flashrom/APKBUILD new file mode 100644 index 0000000000..62420605a3 --- /dev/null +++ b/testing/flashrom/APKBUILD @@ -0,0 +1,31 @@ +Contributor: nangel@tetrasec.net +# Maintainer: +pkgname=flashrom +pkgver=0.9.2 +pkgrel=0 +pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips" +url="http://www.flashrom.org/Flashrom" +license="GPL" +depends= +makedepends=pciutils-dev +subpackages="$pkgname-doc" +source="http://qa.coreboot.org/releases/flashrom-0.9.2.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + make PREFIX=/usr/ || return 1 +} + +package() { + cd "$_builddir" + make PREFIX="$pkgdir/usr/" install +} + +md5sums="21751b4ea93c5a82c725adae7b63014a flashrom-0.9.2.tar.bz2" |