summaryrefslogtreecommitdiff
blob: c4d57b0b89020e98921a58871c8c1f48dedff1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/mod_watch-3.18-r1.ebuild,v 1.1 2005/01/25 12:14:18 vericgar Exp $

inherit apache-module

DESCRIPTION="Bandwidth graphing for Apache with MRTG"
HOMEPAGE="http://www.snert.com/Software/mod_watch/"
KEYWORDS="~x86"

MY_V=${PV/./}
SRC_URI="http://www.snert.com/Software/download/${PN}${MY_V}.tgz"

IUSE=""
LICENSE="as-is"
SLOT="1"

APACHE1_MOD_CONF="77_mod_watch"
APACHE1_MOD_DEFINE="WATCH"
APXS1_ARGS="-c mod_watch.c Memory.c Mutex.c Shared.c SharedHash.c NetworkTable.c"

DOCFILES="CHANGES.txt LICENSE.txt index.shtml"

need_apache1

src_install() {

	apache1_src_install

	dosbin apache2mrtg.pl
	dosbin mod_watch.pl

}