blob: 3202145dac53543a7e766b5a511a6b65dc32b909 (
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
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-misc/visitors/visitors-0.7.ebuild,v 1.3 2010/02/22 16:49:00 phajdan.jr Exp $
DESCRIPTION="Fast web log analyzer"
HOMEPAGE="http://www.hping.org/visitors/"
SRC_URI="http://www.hping.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE="debug"
DEPEND=""
S="${WORKDIR}/${P/-/_}"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:graph\.gif:graph.png:' doc.html
}
src_compile() {
local debug=""
use debug && debug="-g"
emake CCOPT="${CFLAGS}" DEBUG="${debug}" || die "emake failed"
}
src_install() {
dobin visitors
dodoc AUTHORS Changelog README TODO
dohtml doc.html visitors.css visitors.png
}
|