From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-analyzer/pinger/pinger-0.32e.ebuild | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 net-analyzer/pinger/pinger-0.32e.ebuild (limited to 'net-analyzer/pinger/pinger-0.32e.ebuild') diff --git a/net-analyzer/pinger/pinger-0.32e.ebuild b/net-analyzer/pinger/pinger-0.32e.ebuild new file mode 100644 index 000000000000..85b142c36460 --- /dev/null +++ b/net-analyzer/pinger/pinger-0.32e.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils flag-o-matic + +DESCRIPTION="Cyclic multi ping utility for selected adresses using GTK/ncurses" +HOMEPAGE="http://aa.vslib.cz/silk/projekty/pinger/index.php" +SRC_URI="http://aa.vslib.cz/silk/projekty/pinger/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="gtk ncurses nls" + +REQUIRED_USE=" + !gtk? ( ncurses ) + !ncurses? ( gtk ) +" + +RDEPEND=" + gtk? ( >=x11-libs/gtk+-2.4:2 ) + ncurses? ( sys-libs/ncurses ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS BUGS ChangeLog NEWS README ) + +src_prepare() { + # bug #494636 + cp "${FILESDIR}"/gtk-2.0.m4 m4/ || die + + epatch "${FILESDIR}"/${P}-tinfo.patch + + sed -i -e '/Root privileges/d' src/Makefile.am || die + + eautoreconf +} + +src_configure() { + append-cppflags -D_GNU_SOURCE + + econf $(use_enable gtk) $(use_enable ncurses) $(use_enable nls) +} -- cgit v1.2.3