PKGBUILDs/core/eventlog/PKGBUILD

21 lines
689 B
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=eventlog
pkgver=0.2.9
pkgrel=1
pkgdesc="A new API to format and send structured log messages"
arch=(arm)
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
options=('!libtool')
source=(http://www.balabit.com/downloads/files/eventlog/${pkgver%.*}/eventlog_${pkgver}.tar.gz)
md5sums=('76e3d7a0b8f335c12099e9b91191fbf1')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}