wok-current view pflogsumm/receipt @ rev 24642

updated hfsprescue (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Mar 09 17:03:53 2022 +0100 (2022-03-09)
parents 2667a1709ae9
children e717a4953b0e
line source
1 # SliTaz package receipt.
3 PACKAGE="pflogsumm"
4 VERSION="1.1.5"
5 CATEGORY="misc"
6 TAGS="postfix mail logs analysis"
7 SHORT_DESC="Provides an over-view of postfix activity."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://jimsun.linxnet.com/postfix_contrib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://jimsun.linxnet.com/downloads/$TARBALL"
15 SUGGESTED="postfix"
16 DEPENDS="perl-date-calc"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $install/usr/doc $install/usr/man/man1
29 install -m 755 $src/pflogsumm.1 $install/usr/man/man1
30 install -m 755 $src/*.txt $install/usr/doc
31 install -m 755 $src/pflogsumm.pl $fs/usr/bin/pflogsumm
32 sed -i 's/m#\^(/m#(/' $fs/usr/bin/pflogsumm
33 }