mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/libsigrokdecode: New aport
A C library to decode protocol data captured by logic analyzers https://sigrok.org/wiki/Libsigrokdecode
This commit is contained in:
parent
8f3b6083fe
commit
eae0937e78
33
testing/libsigrokdecode/APKBUILD
Normal file
33
testing/libsigrokdecode/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
||||
|
||||
pkgname="libsigrokdecode"
|
||||
pkgver=0.5.2
|
||||
pkgrel=0
|
||||
pkgdesc="A C library to decode protocol data captured by logic analyzers"
|
||||
url="https://sigrok.org/wiki/Libsigrokdecode"
|
||||
makedepends="glib-dev libserialport-dev libzip-dev libusb-dev libftdi1-dev
|
||||
glibmm-dev libsigrok-dev python3-dev check-dev"
|
||||
depends=""
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||
subpackages="$pkgname-dev"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "${builddir}"
|
||||
./configure --prefix=/usr/
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${builddir}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${builddir}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="49d0cba3a5fe17593165c3669dc8530e4e68497369b461f39b63c903f41a3060766c23d44c4112c9b9a5e740ae1e2c03a735494ac798dc631f3913079be04e22 libsigrokdecode-0.5.2.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user