wok-current view pflogsumm/receipt @ rev 25694
Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 30 18:05:22 2024 +0000 (7 months ago) |
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 }