summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-10-16 09:14:52 +0000
committerJeroen Roovers <jer@gentoo.org>2014-10-16 09:14:52 +0000
commit79e3ac419d8e6903ee7c5db29322173193ed1660 (patch)
treed0dceb286b9eb01c00c462c4bb067a1be1aa3fdf /net-analyzer/pinger/pinger-0.33.ebuild
parentVersion bump (diff)
downloadgentoo-2-79e3ac419d8e6903ee7c5db29322173193ed1660.tar.gz
gentoo-2-79e3ac419d8e6903ee7c5db29322173193ed1660.tar.bz2
gentoo-2-79e3ac419d8e6903ee7c5db29322173193ed1660.zip
Version bump.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/pinger/pinger-0.33.ebuild')
-rw-r--r--net-analyzer/pinger/pinger-0.33.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/net-analyzer/pinger/pinger-0.33.ebuild b/net-analyzer/pinger/pinger-0.33.ebuild
new file mode 100644
index 000000000000..699f5b6c77bc
--- /dev/null
+++ b/net-analyzer/pinger/pinger-0.33.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pinger/pinger-0.33.ebuild,v 1.1 2014/10/16 09:14:52 jer Exp $
+
+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/"
+SRC_URI="${HOMEPAGE}download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk2 gtk3 ncurses nls"
+
+REQUIRED_USE="
+ || ( gtk2 gtk3 ncurses )
+ ?? ( gtk2 gtk3 )
+"
+GTK_DEPEND="
+ dev-libs/glib:2
+"
+RDEPEND="
+ gtk2? (
+ ${GTK_DEPEND}
+ >=x11-libs/gtk+-2.4:2
+ )
+ gtk3? (
+ ${GTK_DEPEND}
+ >=x11-libs/gtk+-3.12:3
+ )
+ ncurses? ( sys-libs/ncurses )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS BUGS ChangeLog NEWS README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+
+ sed -i -e '/Root privileges/d' src/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -D_GNU_SOURCE
+
+ econf \
+ $(usex gtk2 --enable-gtk=gtk2 '') \
+ $(usex gtk3 --enable-gtk=gtk3 '') \
+ $(use_enable ncurses) \
+ $(use_enable nls)
+}