blob: 35c5c5de7df17a68397e57d0a5d60fe77ea91542 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname="sigrok-firmware-fx2lafw-bin"
replaces="${pkgname%-bin}"
pkgver=0.1.6
pkgrel=0
pkgdesc="Open source firmware for logic analyzers based on Cypress FX2 chips"
url="https://sigrok.org/wiki/Libsigrok"
arch="noarch"
license="GPL-2.0-or-later"
# Using prebuild firmware, as required toolchain is not (yet) available on
# Alpine Linux
source="https://sigrok.org/download/binary/${pkgname%-bin}/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
# No checks possible, as firmware runs on the logic analyzer
options="!check"
package() {
mkdir -p "$pkgdir/usr/share/sigrok-firmware"
find . -type f -name '*.fw' \
-exec cp {} "$pkgdir/usr/share/sigrok-firmware" \;
}
sha512sums="0dd4eb5327fbf5a8ee413b5ad460e2febe7da6aba13cfe4c7467966e4d4a0033b796ce7634647c0bbfa335034180272e7f8167b7a8181fb73ed3839891a44e46 sigrok-firmware-fx2lafw-bin-0.1.6.tar.gz"
|