aboutsummaryrefslogtreecommitdiffstats
path: root/community/riemann-c-client/APKBUILD
blob: dd6067d492614525ebf6136edf2ba3d5c1f1b41d (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
41
42
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=riemann-c-client
pkgver=1.10.5
pkgrel=0
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="
554a56d773703e059662faccfa32f59a9d195bd72c6688113f375f8e705753c7f8ebdaaace50c1cebb4fced1ee42549ace69bbfd7b53d636fc727ead2198cfc1  riemann-c-client-1.10.5.tar.gz
"