summaryrefslogtreecommitdiff
blob: f140cfd19776fa4c0e43a1e82db271f7b4d92420 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squid-graph/squid-graph-3.1-r1.ebuild,v 1.2 2006/09/06 13:09:06 blubb Exp $

DESCRIPTION="Squid logfile analyzer and traffic grapher"
HOMEPAGE="http://squid-graph.securlogic.com/"
SRC_URI="http://squid-graph.securlogic.com/files/stable/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND="dev-perl/GD"

src_install () {
	dobin bin/apacheconv bin/generate.cgi bin/squid-graph bin/timeconv || \
		die "dobin failed"
	dodoc docs/CHANGELOG docs/README
	dohtml docs/html/*

	# install logo.png to a static location - bug 92668
	insinto /usr/share/${PN}
	doins docs/html/logo.png
}

pkg_postinst () {
	einfo
	einfo "Remember to copy /usr/share/${PN}/logo.png to your output directory"
	einfo
}