# Maintainer: Francesco Colista # Contributor: Bartłomiej Piotrowski pkgname=eventlog pkgver=0.2.12 pkgrel=4 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="http://download.openpkg.org/components/cache/syslog-ng/eventlog_$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="a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce eventlog_0.2.12.tar.gz"