wok annotate logsurfer/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (29 hours ago) |
parents | 9981cfce1dd8 |
children |
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@25780 | 10 WEB_SITE="https://logsurfer.sourceforge.net/" |
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@25780 | 16 wget -O - https://www.crypt.gen.nz/logsurfer/ 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 } |