summaryrefslogtreecommitdiff
blob: 38ea0ecf7b2ce34f86a90b117a150bc677b0644c (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-2007 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.3 2007/05/01 22:40:37 genone 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 () {
	elog
	elog "Remember to copy /usr/share/${PN}/logo.png to your output directory"
	elog
}