wok-next annotate mailgraph/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | d20af2b840ef |
children | d5aab818505e |
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@18259 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18259 | 17 genpkg_rules() |
pascal@18259 | 18 { |
pascal@18259 | 19 mkdir -p $fs/usr/bin $fs/var/www/cgi-bin |
pascal@18262 | 20 install -o root -g root -m 755 $src/mailgraph.pl $fs/usr/bin/mailgraph |
pascal@18262 | 21 install -o root -g root -m 755 $src/mailgraph.cgi $fs/var/www/cgi-bin/ |
pascal@18262 | 22 install -o root -g root -m 644 $src/mailgraph.css $fs/var/www/cgi-bin/ |
pascal@18259 | 23 } |