aboutsummaryrefslogtreecommitdiffstats
path: root/community/riemann-c-client/APKBUILD
blob: b59b43c1ebd08dd65213c4e149d9cd2429242cb9 (plain) (blame)
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
38
39
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"