aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigrokdecode/APKBUILD
blob: 3ddd7f7c743b20b827dc760d75662fc32a0c63d3 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>

pkgname="libsigrokdecode"
pkgver=0.5.3
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
	autoconf automake libtool"
arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz
	version.patch
	"
subpackages="$pkgname-dev"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure --prefix=/usr/
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e  libsigrokdecode-0.5.3.tar.gz
6d8fa69a891b4333fe77213cf75df218090e58b51d6c92197351d95a977634f2228a63c9c0c75fcb1d816c59ee9eaf410d5e79827ac7c79b0784262ea0f9c3fd  version.patch"