29 lines
860 B
Plaintext
29 lines
860 B
Plaintext
# Template file for 'flashrom'
|
|
pkgname=flashrom
|
|
version=0.9.7
|
|
revision=1
|
|
short_desc="utility for identifying, reading, writing, verifying and erasing flash chips"
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
makedepends="pciutils-devel"
|
|
homepage="http://www.flashrom.org"
|
|
license="MIT/X11"
|
|
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
|
checksum=5a55212d00791981a9a1cb0cdca9d9e58bea6d399864251e7b410b4d3d6137e9
|
|
|
|
do_build() {
|
|
make PREFIX=/usr ${makejobs} \
|
|
CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \
|
|
CONFIG_ATAHPT=no CONFIG_DRKAISER=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no \
|
|
CONFIG_NICINTEL=no CONFIG_NICINTEL_SPI=no CONFIG_OGP_SPI=no CONFIG_SATAMV=no
|
|
}
|
|
|
|
do_install() {
|
|
make install DESTDIR=${DESTDIR} PREFIX=/usr
|
|
}
|
|
|
|
flashrom_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|