summaryrefslogtreecommitdiffstats
path: root/main/flashrom/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-14 07:06:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-14 07:06:33 +0000
commitcf242d16f4e8d358c261bd52e301c8284dfa1231 (patch)
tree8f6a126dde7490be51087e942ecbaad4f6d021b9 /main/flashrom/APKBUILD
parente48e174b78c131afad3f9dfe6b47bf0f7fa80f52 (diff)
downloadaports-cf242d16f4e8d358c261bd52e301c8284dfa1231.tar.bz2
aports-cf242d16f4e8d358c261bd52e301c8284dfa1231.tar.xz
main/flashrom: moved from testing
fixes #405
Diffstat (limited to 'main/flashrom/APKBUILD')
-rw-r--r--main/flashrom/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/flashrom/APKBUILD b/main/flashrom/APKBUILD
new file mode 100644
index 000000000..7864cd6a2
--- /dev/null
+++ b/main/flashrom/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor:
+# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
+pkgname=flashrom
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips"
+url="http://www.flashrom.org/Flashrom"
+license="GPL"
+depends=dmidecode
+makedepends=pciutils-dev
+subpackages="$pkgname-doc"
+install="$pkgname.post-install"
+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"