mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
www-misc/visitors: drop old EAPI
Signed-off-by: Aaron Bauman <bman@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.12
This commit is contained in:
parent
f4e1ec6438
commit
ef016f0f3d
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
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="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${P/-/_}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i doc.html \
|
||||
-e 's:graph\.gif:graph.png:' \
|
||||
|| die "sed doc.html"
|
||||
sed -i Makefile \
|
||||
-e 's| -o | $(LDFLAGS)&|g' \
|
||||
|| die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC=$(tc-getCC) \
|
||||
CFLAGS="${CFLAGS} -Wall -W" \
|
||||
DEBUG="" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin visitors
|
||||
dodoc AUTHORS Changelog README TODO
|
||||
dohtml doc.html visitors.css visitors.png
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user