mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 14:32:14 +01:00
27 lines
772 B
Plaintext
27 lines
772 B
Plaintext
# 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"
|