wok-current view pflogsumm/receipt @ rev 25474

openjdk-6-src: use find from findutils in place of busybox find
author Hans-G?nter Theisgen
date Thu Oct 13 16:42:57 2022 +0100 (2022-10-13)
parents 2f230197370e
children
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="https://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 }