summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-09-10 20:58:37 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-17 17:42:47 +0200
commitaeeb9735777818eec6940e7a73cc058290954fa3 (patch)
tree1f007e42a3af2c966fea3eadf5bb31a0b3f77aa4 /www-misc/visitors
parentgames-fps/yamagi-quake2: remove old (diff)
downloadgentoo-aeeb9735777818eec6940e7a73cc058290954fa3.tar.gz
gentoo-aeeb9735777818eec6940e7a73cc058290954fa3.tar.bz2
gentoo-aeeb9735777818eec6940e7a73cc058290954fa3.zip
www-misc/visitors: revbump for EAPI7
Closes: https://bugs.gentoo.org/665644 Closes: https://github.com/gentoo/gentoo/pull/9819
Diffstat (limited to 'www-misc/visitors')
-rw-r--r--www-misc/visitors/visitors-0.7-r2.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/www-misc/visitors/visitors-0.7-r2.ebuild b/www-misc/visitors/visitors-0.7-r2.ebuild
new file mode 100644
index 000000000000..2dee93983607
--- /dev/null
+++ b/www-misc/visitors/visitors-0.7-r2.ebuild
@@ -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
+}