wok view sysklogd/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 9c0fdd18095c |
children |
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 mkdir m4
25 ./autogen.sh
26 ./configure --prefix=/usr --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make LDFLAGS="$LDFLAGS -lrt" &&
29 make DESTDIR=$DESTDIR install-strip
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }