aboutsummaryrefslogblamecommitdiffstats
path: root/main/flashrom/APKBUILD
blob: 83636dd1851750e65b9ab8783a434fae84a4d30c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                       

                
        

                                                                                        
          
             
                 

                          
                               



















                                                                  
# 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"
arch="all"
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"