diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/metalog/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/metalog/APKBUILD')
-rw-r--r-- | user/metalog/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/user/metalog/APKBUILD b/user/metalog/APKBUILD new file mode 100644 index 000000000..3998a3a2d --- /dev/null +++ b/user/metalog/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: +# Maintainer: +pkgname=metalog +pkgver=20200113 +pkgrel=0 +pkgdesc="A highly configurable replacement for syslogd/klogd" +url="https://github.com/hvisage/metalog" +arch="all" +license="GPL-2.0-only" +depends="pcre" +makedepends="autoconf autoconf-archive-dev automake pcre-dev" +subpackages="$pkgname-doc $pkgname-openrc" +source="https://github.com/hvisage/$pkgname/archive/$pkgname-$pkgver.tar.gz + metalog-0.9-metalog-conf.patch + + metalog.confd + metalog.initd-r1 + " +builddir="$srcdir/$pkgname-$pkgname-$pkgver/" + +build() { + autoreconf -fi + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/metalog.initd-r1 \ + "$pkgdir"/etc/init.d/metalog + install -D -m644 "$srcdir"/metalog.confd \ + "$pkgdir"/etc/conf.d/metalog +} + +sha512sums="d399d86f988c69c9f74553cd682a5fe04886bca458e6f8bb3132fe1fb9f522510a428cfde8af0857c5ba22531b276b04fa05183e0006c2d28ef0f0aead488f93 metalog-20200113.tar.gz +0c95e8461e89d9469452d2ef66fa52f469b61578b12a6c72adb73e48807f998f8fb58cf0b3f1bc5caa38296fd59c8f8d1fc209beec81790387816d1c497a07df metalog-0.9-metalog-conf.patch +4fea6b7f48e55d5f69a9c9a69f54623bb9d515e2fd2eda6829f8b769eec85e3de448eb42feb6bf65645400480169b3d70d56dff090103cfc95a3810515c42b2e metalog.confd +09d8ac585418c6a3dfccc9d0f1a050b5862924712d78dc44fce3cb497bb362afe0a556240b14cf957fcdf64d0d06f5b6a8df4372c69129b43dc3520ecd310344 metalog.initd-r1" |