# Template file for 'metalog'
pkgname=metalog
version=20200113
revision=1
wrksrc="$pkgname-$pkgname-$version"
build_style=gnu-configure
conf_files="/etc/metalog.conf"
hostmakedepends="autoconf autoconf-archive automake pkg-config"
makedepends="pcre-devel"
short_desc="Modern replacement for syslogd and klogd"
maintainer="teldra <teldra@rotce.de>"
license="GPL-2.0-only"
homepage="https://github.com/hvisage/metalog"
distfiles="https://github.com/hvisage/metalog/archive/metalog-${version}.tar.gz"
checksum=cf4b5601697145420af08633c873e1d4c3c437643b8fe3fb5dd8a30c1a20e73d

pre_configure() {
	./autogen.sh
}

post_install() {
	vsv metalog
}
