2013-04-11 17:19:33 +02:00
|
|
|
# Template file for 'flashrom'
|
|
|
|
pkgname=flashrom
|
2015-03-10 11:25:51 +01:00
|
|
|
version=0.9.8
|
|
|
|
revision=1
|
2013-04-11 17:19:33 +02:00
|
|
|
short_desc="utility for identifying, reading, writing, verifying and erasing flash chips"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-03-10 11:25:51 +01:00
|
|
|
makedepends="pciutils-devel libusb-compat-devel"
|
|
|
|
hostmakedepends="pkg-config"
|
2013-04-11 17:19:33 +02:00
|
|
|
homepage="http://www.flashrom.org"
|
|
|
|
license="MIT/X11"
|
|
|
|
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
2015-03-10 11:25:51 +01:00
|
|
|
checksum=13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934
|
2013-04-11 17:19:33 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|