aboutsummaryrefslogtreecommitdiffstats
path: root/community/riemann-c-client/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/riemann-c-client/APKBUILD')
-rw-r--r--community/riemann-c-client/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/riemann-c-client/APKBUILD b/community/riemann-c-client/APKBUILD
new file mode 100644
index 0000000000..b59b43c1eb
--- /dev/null
+++ b/community/riemann-c-client/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=riemann-c-client
+pkgver=1.10.4
+pkgrel=1
+pkgdesc="A C client library for the Riemann monitoring system"
+url="https://github.com/algernon/riemann-c-client"
+arch="all"
+license="LGPL-3.0-or-later"
+depends_dev="protobuf-c-dev"
+checkdepends="check-dev"
+makedepends="$depends_dev autoconf automake gnutls-dev json-c-dev libtool"
+subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
+source="https://github.com/algernon/riemann-c-client/archive/riemann-c-client-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-riemann-c-client-$pkgver"
+
+prepare() {
+ default_prepare
+
+ autoreconf -iv
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-tls
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install DESTDIR="$pkgdir"
+}
+
+sha512sums="b46d892adc031a6636d1b3688f9bf7d56a7c956100a544f0d0daa9ba6a1478b65933fff7dafd6e535ebb3589807e6139bd89370d39e24bd5ce7a7f2fe72300a1 riemann-c-client-1.10.4.tar.gz"