aboutsummaryrefslogtreecommitdiffstats
path: root/main/eventlog/APKBUILD
blob: 5da9ca075a064fed6d650900fda5acdb1cbb3e01 (plain)
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
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=eventlog
pkgver=0.2.13
pkgrel=0
pkgdesc="API to format and send structured log messages"
arch="all"
url="http://www.balabit.com/support/community/products/"
license="BSD-3-Clause"
depends=
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="https://src.fedoraproject.org/lookaside/extras/$pkgname/${pkgname}_${pkgver}.tar.gz/68ec8d1ea3b98fa35002bb756227c315/${pkgname}_${pkgver}.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	autoreconf -vif
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
	install -Dm644 COPYING \
		"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}

sha512sums="0c76199479f1d5191e6f591909878dcb747fc211ea97345c5c5575dd50482ee6e2e34aa0e8255ae366c5d563a79a55b178ed3289965cc9013f001909a2cb9732  eventlog_0.2.13.tar.gz"