Patches for aports can be sent to this list

[alpine-aports] [PATCH 3/6] testing/libsigrokdecode: New aport

Marian Buschsieweke
Details
Message ID
<20190404165559.6565-3-marian.buschsieweke@ovgu.de>
Sender timestamp
1554396956
DKIM signature
missing
Download raw message
Patch: +33 -0
A C library to decode protocol data captured by logic analyzers
https://sigrok.org/wiki/Libsigrokdecode
---
 testing/libsigrokdecode/APKBUILD | 33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/libsigrokdecode/APKBUILD

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"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---