blob: a2955014064aa273acd1020331e4110f4d645de2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor:
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=flashrom
pkgver=0.9.3
pkgrel=0
pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips"
url="http://www.flashrom.org/Flashrom"
arch="all"
license="GPL"
depends=dmidecode
makedepends=pciutils-dev
subpackages="$pkgname-doc"
install="$pkgname.post-install"
source="http://qa.coreboot.org/releases/flashrom-$pkgver.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="eccdec2764223f5d2839bf577380eaa9 flashrom-0.9.3.tar.bz2"
|