wok-current view sysklogd/receipt @ rev 24147
Add sysklogd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 22 10:22:30 2021 +0000 (2021-11-22) |
parents | |
children | fa5c28d5efb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sysklogd"
4 VERSION="2.2.3"
5 CATEGORY="network"
6 SHORT_DESC="BSD syslog daemon and syslog()/syslogp() API for Linux, RFC3164 + RFC5424."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://troglobit.com/post/2019-11-03-bsd-syslogd-in-linux/"
11 WGET_URL="https://github.com/troglobit/sysklogd/archive/refs/tags/v$VERSION.tar.gz"
13 BUILD_DEPENDS="automake"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh
25 ./configure --prefix=/usr --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make LDFLAGS="$LDFLAGS -lrt" &&
28 make DESTDIR=$DESTDIR install-strip
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }