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