24 lines
691 B
Plaintext
24 lines
691 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: bash-completion dmidecode
|
|
|
|
name=flashrom
|
|
version=1.4.0
|
|
release=1
|
|
source=(https://download.flashrom.org/releases/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst bash-completion || PKGMK_FLASHROM+=' -D bash_completion=disabled'
|
|
|
|
meson setup $name-$version build $PKGMK_FLASHROM \
|
|
--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
|
|
}
|