wok-current view logsurfer/receipt @ rev 24983

Up xcursor-comix (0.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 16:45:21 2022 +0000 (2022-05-08)
parents 56ab00f400e9
children 9981cfce1dd8
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="$WEB_SITE/$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 }