wok-current annotate 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 |
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@24975 | 13 WGET_URL="https://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 } |