void-packages/templates/metalog/template
Juan RP 9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00

29 lines
919 B
Text

# Template file for 'metalog'
pkgname=metalog
version=1
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.lzma"
build_style=gnu_configure
configure_args="--with-unicode"
short_desc="Modern replacement for syslogd and klogd"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4f27a64e7abb1a1ecb078147db8db4e1edf2bcb72723ec5d9456af09255ff167
long_desc="
Metalog is a modern replacement for syslogd and klogd. The logged messages
can be dispatched according to their facility, urgency, program name
and/or Perl-compatible regular expressions."
conf_files="/etc/metalog.conf"
openrc_services="metalog default"
Add_dependency full glibc
Add_dependency full pcre
Add_dependency full bzip2
Add_dependency build lzma-utils
post_install()
{
install -d ${DESTDIR}/etc/init.d
install -m755 ${FILESDIR}/metalog.rc ${DESTDIR}/etc/init.d/metalog
install -m644 ${FILESDIR}/metalog.conf ${DESTDIR}/etc
}