aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashrom/APKBUILD
blob: 89fd5f7c8e4976dfa8866884e485280534ca861c (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=flashrom
pkgver=0.9.9
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"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make PREFIX=/usr/ WARNERROR=no || return 1
}

package() {
	cd "$_builddir"
	make PREFIX="$pkgdir/usr/" install  
}

md5sums="aab9c98925d9cfb5ffb28b67a6112530  flashrom-0.9.9.tar.bz2"
sha256sums="cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45  flashrom-0.9.9.tar.bz2"
sha512sums="155445ce7acab97f91596aad704aa2211da1c3f71fb463fc65c621dfea41e44b5de7db801c5b5cfc37450e8a8cfed5b202553715d999710422c830a0c38ae153  flashrom-0.9.9.tar.bz2"