wok annotate pflogsumm/receipt @ rev 24822

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