diff options
Diffstat (limited to 'extra/metalog/PKGBUILD')
-rw-r--r-- | extra/metalog/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD new file mode 100644 index 000000000..9ad023eb6 --- /dev/null +++ b/extra/metalog/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 54835 2009-10-11 19:46:55Z giovanni $ +# Maintainer: juergen <juergen@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# + +pkgname=metalog +pkgver=1.0 +pkgrel=1 +pkgdesc="Metalog is a modern replacement for syslogd and klogd" +arch=(i686 x86_64 'mips64el') +depends=('pcre') +makedepends=('xz-utils') +provides=('logger') +backup=(etc/metalog.conf etc/conf.d/metalog) +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-1.tar.lzma +\ + metalog metalog.confd) +md5sums=('df4ec89f6a0df24a43f9592ee80ab6be' 'cdd1d34eedbfbc2d9e659bf0a0f58f56'\ + '86bccd5a02996921e29eff8a0394d11f') +license=(GPL) +url="http://metalog.sourceforge.net" + +build() { + # WTF: Upstream doesn't provide gzip/bz2 compressed archives + lzma -d -c $startdir/src/${pkgname}-1.tar.lzma | tar xf - -C $startdir/src + cd $startdir/src/$pkgname-1 + ./configure --prefix=/usr --sysconfdir=/etc + /usr/bin/make || return 1 + /usr/bin/make DESTDIR=$startdir/pkg install || return 1 + /bin/install -D -m755 $startdir/src/metalog $startdir/pkg/etc/rc.d/metalog + /bin/install -D -m644 $startdir/src/metalog.confd $startdir/pkg/etc/conf.d/metalog + /bin/install -D -m644 metalog.conf $startdir/pkg/etc/metalog.conf +} + +# vim: ts=2: ft=sh |