wok-6.x view mailgraph/receipt @ rev 25055
linux: disable Realtek RTL8723AU Wireless LAN NIC driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 09:43:10 2022 +0000 (2022-06-06) |
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 }