mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 15:42:19 +01:00
Release notes: https://flashprog.org/wiki/Flashprog/v1.3 Signed-off-by: Felix Singer <felixsinger@posteo.net>
39 lines
966 B
Plaintext
39 lines
966 B
Plaintext
# Maintainer: Felix Singer <felixsinger@posteo.net>
|
|
pkgname='flashprog'
|
|
pkgver=1.3
|
|
pkgrel=0
|
|
source="https://flashprog.org/releases/flashprog-v$pkgver.tar.bz2"
|
|
pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips"
|
|
url="https://flashprog.org"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="dmidecode"
|
|
makedepends="
|
|
libjaylink-dev
|
|
libgpiod-dev
|
|
libftdi1-dev
|
|
libusb-dev
|
|
linux-headers
|
|
meson
|
|
pciutils-dev
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
|
|
builddir="$srcdir"/$pkgname-v$pkgver
|
|
options="!check" # can't run without special setup..?
|
|
|
|
build() {
|
|
# internal dmi- false- prefer dmidecode cli
|
|
abuild-meson \
|
|
-Duse_internal_dmi=false \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
269d09c92f17fed2897474633374233ed05f99737c4c28897e0d2ed9dff31b5add4d30ac02d1c7db1246faab928c034a4a82a9b54566565a228788b954f57e33 flashprog-v1.3.tar.bz2
|
|
"
|