wok annotate logsurfer/receipt @ rev 25391

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