summaryrefslogtreecommitdiffstats
path: root/testing/flashrom/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/flashrom/APKBUILD')
-rw-r--r--testing/flashrom/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/flashrom/APKBUILD b/testing/flashrom/APKBUILD
new file mode 100644
index 000000000..62420605a
--- /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"