22 lines
578 B
Plaintext
22 lines
578 B
Plaintext
# Description: a utility for identifying, reading, writing, verifying and erasing flash chips
|
|
# URL: https://www.flashrom.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libftdi libjaylink pciutils
|
|
# Optional: dmidecode
|
|
|
|
name=flashrom
|
|
version=1.3.0
|
|
release=1
|
|
source=(https://download.flashrom.org/releases/$name-v$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup $name-v$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|