aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigrokdecode/APKBUILD
blob: a0e1b5005d3ae9350aac0b2a008d78241201332e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"