wok view logsurfer/receipt @ rev 25140
updated pigz (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:12:55 2022 +0100 (2022-06-29) |
parents | 2a0479881723 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="logsurfer"
4 VERSION="1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="A program for monitoring system logs in real-time."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.crypt.gen.nz/logsurfer/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed '/Logsurfer .* Features/!d;/div/d;s|.*Logsurfer ||;s| Features.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir -p $DESTDIR/usr/share/man/man1 \
24 $DESTDIR/usr/share/man/man4 \
25 $DESTDIR/usr/bin
26 sed -i "s|dir = @|dir = $DESTDIR/@|" Makefile.in
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }