mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-misc/visitors: revbump for EAPI7
Closes: https://bugs.gentoo.org/665644 Closes: https://github.com/gentoo/gentoo/pull/9819
This commit is contained in:
committed by
Michał Górny
parent
b250198dbd
commit
aeeb973577
41
www-misc/visitors/visitors-0.7-r2.ebuild
Normal file
41
www-misc/visitors/visitors-0.7-r2.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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"
|
||||
|
||||
S="${WORKDIR}/${P/-/_}"
|
||||
|
||||
DOCS=( AUTHORS Changelog README TODO )
|
||||
HTML_DOCS=( doc.html visitors.css visitors.png )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
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=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin visitors
|
||||
}
|
||||
Reference in New Issue
Block a user