27 lines
897 B
Bash
27 lines
897 B
Bash
# Template file for 'flashrom'
|
|
pkgname=flashrom
|
|
version=0.9.8
|
|
revision=2
|
|
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
makedepends="pciutils-devel libusb-compat-devel"
|
|
hostmakedepends="pkg-config"
|
|
homepage="http://www.flashrom.org"
|
|
license="MIT/X11"
|
|
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
|
checksum=13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934
|
|
|
|
post_extract() {
|
|
sed -i "s:sbin:bin:g" Makefile
|
|
}
|
|
|
|
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
|
|
}
|