mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
39 lines
966 B
Plaintext
39 lines
966 B
Plaintext
# Maintainer: Felix Singer <felixsinger@posteo.net>
|
|
pkgname='flashprog'
|
|
pkgver=1.2
|
|
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="
|
|
10d10b3229ecc27d003e0baa55fdfdd724c2229111695400bcbdc99f09b8cb7010e966b748804189491008ac6274a694e984c7951dc75d8f6971bc4d37ae4572 flashprog-v1.2.tar.bz2
|
|
"
|