blob: faff8cd9c0e81e26500f1e517849b36c24f6115d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 pcre-dev autoconf-archive-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"
|