wok-current view logsurfer/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
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 }