Subject: [alpine-aports] [PATCH] testing/tinycbor: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Thu, 2 May 2019 16:42:42 +0200

Concise Binary Object Representation (CBOR) Library
https://github.com/intel/tinycbor
---
 testing/tinycbor/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 testing/tinycbor/APKBUILD

diff --git a/testing/tinycbor/APKBUILD b/testing/tinycbor/APKBUILD
new file mode 100644
index 0000000000..d74f253a87
--- /dev/null
+++ b/testing/tinycbor/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=tinycbor
+pkgver=0.5.2
+pkgrel=0
+pkgdesc="Concise Binary Object Representation (CBOR) Library"
+url="https://github.com/intel/tinycbor"
+checkdepends="qt5-qtbase-dev"
+arch="all"
+license="MIT"
+source="$pkgname-$pkgver.tar.gz::https://github.com/intel/tinycbor/archive/v${pkgver}.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+	cd "$builddir"
+	make
+}
+
+check() {
+	cd "$buiddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" prefix=/usr/ install
+}
+
+sha512sums="0eeabe3d0703b284748d6177afa04eb5c907bb5995084b53efb4589908c4b4815961d50ac295dac5022a34b4f4af28092694cb70e207b087f2ce8638bfa9ce1b  tinycbor-0.5.2.tar.gz"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---