aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigrokdecode/APKBUILD
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2019-04-04 18:55:56 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-05-31 14:54:56 +0200
commiteae0937e7889cce52f925d7990650aada7d87e75 (patch)
treebfa912fa3004ef20795bc460a077dd4bbef4cc43 /testing/libsigrokdecode/APKBUILD
parent8f3b6083fe6d7407c86c386cc3d7bda4173b3076 (diff)
downloadaports-eae0937e7889cce52f925d7990650aada7d87e75.tar.gz
aports-eae0937e7889cce52f925d7990650aada7d87e75.tar.bz2
aports-eae0937e7889cce52f925d7990650aada7d87e75.tar.xz
testing/libsigrokdecode: New aport
A C library to decode protocol data captured by logic analyzers https://sigrok.org/wiki/Libsigrokdecode
Diffstat (limited to 'testing/libsigrokdecode/APKBUILD')
-rw-r--r--testing/libsigrokdecode/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libsigrokdecode/APKBUILD b/testing/libsigrokdecode/APKBUILD
new file mode 100644
index 0000000000..a0e1b5005d
--- /dev/null
+++ b/testing/libsigrokdecode/APKBUILD
@@ -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"