contrib/syslog-ng/Pkgfile
2010-09-13 18:41:40 +02:00

29 lines
792 B
Plaintext

# Description: alternate syslogging daemon
# URL: http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
# Maintainer: Thomas Penteker, tek at serverop dot de
#
# Depends on: eventlog
name=syslog-ng
version=3.1.2
release=1
source=(http://balabit.com/downloads/files/syslog-ng/sources/$version/source/${name}_${version}.tar.gz
syslog-ng.rc syslog-ng.conf)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/var/libexec \
--localstatedir=/var \
--mandir=/usr/man \
--enable-dynamic-linking
make && make DESTDIR=$PKG install
rm -rf $PKG/usr/doc
install -D -m 644 ../syslog-ng.conf $PKG/etc/syslog-ng.conf
install -D -m 755 ../syslog-ng.rc $PKG/etc/rc.d/syslog-ng
}