flashrom: fix template, enable default devices
This commit is contained in:
parent
8b252b71a0
commit
de56081135
1 changed files with 3 additions and 15 deletions
|
@ -1,30 +1,18 @@
|
|||
# Template file for 'flashrom'
|
||||
pkgname=flashrom
|
||||
version=0.9.9
|
||||
revision=2
|
||||
revision=3
|
||||
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"
|
||||
build_style=gnu-makefile
|
||||
license="GPL-2"
|
||||
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
||||
checksum=cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
|
||||
|
||||
post_extract() {
|
||||
pre_build() {
|
||||
sed -i "s:sbin:bin:g" Makefile
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' $(find -name '*.[ch]')
|
||||
}
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue