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