wok view mailgraph/receipt @ rev 24912

updated mm-common (1.0.0 -> 1.0.4)
author Hans-G?nter Theisgen
date Sat Apr 09 15:43:43 2022 +0100 (2022-04-09)
parents bb12c4e26568
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mailgraph"
4 VERSION="1.14"
5 CATEGORY="misc"
6 SHORT_DESC="A RRDtool frontend for Mail statistics."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mailgraph.schweikert.ch/"
11 WGET_URL="${WEB_SITE}pub/$TARBALL"
12 TAGS="logs"
14 DEPENDS="rrdtool-perl perl-file-tail"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/var/www/cgi-bin
27 install -o root -g root -m 755 $src/mailgraph.pl $fs/usr/bin/mailgraph
28 install -o root -g root -m 755 $src/mailgraph.cgi $fs/var/www/cgi-bin/
29 install -o root -g root -m 644 $src/mailgraph.css $fs/var/www/cgi-bin/
30 }