aports/testing/rvlprog/APKBUILD
Weijie Wang 45d168ae58 testing/rvlprog: fix missing cstdint when compiling with gcc13
Signed-off-by: Weijie Wang <wangweijie@loongson.cn>
2024-07-11 14:33:51 +00:00

29 lines
844 B
Text

# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=rvlprog
pkgver=0.91
pkgrel=2
pkgdesc="CLI tool for REVELPROG-IS programmer"
url="https://gitlab.com/spectrum70/rvlprog"
arch="all"
license="GPL-3.0-or-later"
options="!check" # no test suite
makedepends="libusb-dev"
source="https://gitlab.com/spectrum70/rvlprog/-/archive/$pkgver/rvlprog-$pkgver.tar.gz
missing_cstdint.patch
"
build() {
export LIBS="-lusb-1.0"
./configure --prefix=/usr
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
cef54e0980345a4a814cbee0dd6a49b10fcf6d9a5660344abba3d2bf79188f5c20298a2befe3fe8ff99df55f01da33a233ca4d17898ce618dd0e456fa51c87db rvlprog-0.91.tar.gz
ae7407ed92df80d41cfb772e2eccee8868c8c251eddc3e8eada820c8247663746a37d4844d533340abe6fc79a08ce4fb188c6df6ea543dd29ae45157cbea0c26 missing_cstdint.patch
"