mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/flashprog: new aport
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
592ff0d850
commit
9c900e5c0d
38
testing/flashprog/APKBUILD
Normal file
38
testing/flashprog/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# 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
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user