aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tinycbor/APKBUILD
blob: 9a434677067f25626c404e1c066266cb84abf1a9 (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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=tinycbor
pkgver=0.5.2
pkgrel=1
pkgdesc="Concise Binary Object Representation (CBOR) Library"
url="https://github.com/intel/tinycbor"
checkdepends="qt5-qtbase-dev"
arch="all !ppc64le !s390x !x86 !armhf !aarch64 !armv7" # Disable due to test failures
license="MIT"
subpackages="$pkgname-dev lib$pkgname:libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/intel/tinycbor/archive/v${pkgver}.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr/ install
	rm -f "$pkgdir"/usr/lib/*.a
}

sha512sums="0eeabe3d0703b284748d6177afa04eb5c907bb5995084b53efb4589908c4b4815961d50ac295dac5022a34b4f4af28092694cb70e207b087f2ce8638bfa9ce1b  tinycbor-0.5.2.tar.gz"