wok-current annotate logsurfer/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 56ab00f400e9 |
children | 9981cfce1dd8 |
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@17330 | 11 WGET_URL="$WEB_SITE/$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 } |