blob: 8d795f5e279a8194b273678213bc33a1ed574394 (
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
34
35
36
37
38
39
|
# Contributor:
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=flashrom
pkgver=0.9.8
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 libusb-compat-dev"
subpackages="$pkgname-doc"
install="$pkgname.post-install"
source="http://download.flashrom.org/releases/flashrom-$pkgver.tar.bz2
spi-ioctl.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 < "$srcdir"/spi-ioctl.patch
}
build() {
cd "$_builddir"
make PREFIX=/usr/ || return 1
}
package() {
cd "$_builddir"
make PREFIX="$pkgdir/usr/" install
}
md5sums="ac513076b63ab7eb411a7694bb8f6fda flashrom-0.9.8.tar.bz2
7fc405c920cc649f96212b907d95fcd7 spi-ioctl.patch"
sha256sums="13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934 flashrom-0.9.8.tar.bz2
e96af2dbd1425db6c435cc08e924c4f202e05c4f6847ac6a36f291be550babb8 spi-ioctl.patch"
sha512sums="1a1c4513bac7cdf91326ab68b822034101e688bfab0dc0b5698f664fc766027229128c55eed94f302cac05d949647cdec6a103a423c3861b047cf0ff7cc0b509 flashrom-0.9.8.tar.bz2
92bc31dcae36b5975dc261344b8dc263a56a63f26fcf1f98a5ef6137cba05ad1eeaf66fd6af2b632989f820a0ea86a97b6a4c561aac15874f4df0bc4e5da6486 spi-ioctl.patch"
|