# Template file for 'metalog'
pkgname=metalog
version=20220214
revision=1
build_style=gnu-configure
conf_files="/etc/metalog.conf"
hostmakedepends="autoconf autoconf-archive automake pkg-config"
makedepends="pcre2-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=3a9dd6f1460d90296771c81aa71fc0f45dd25ef22af63f48e6cbe5422a88f3bf

pre_configure() {
	./autogen.sh
}

post_install() {
	vsv metalog
}
