changeset 369:9f4198a86b7d

ebuild for liboping 1.8
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 21 Nov 2014 07:37:17 +0100
parents 9c0597d116b5
children f4ed803dfb89
files net-libs/liboping/Manifest net-libs/liboping/liboping-1.8.0.ebuild
diffstat 2 files changed, 45 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/liboping/Manifest	Fri Nov 21 07:37:17 2014 +0100
@@ -0,0 +1,2 @@
+DIST liboping-1.8.0.tar.bz2 316441 SHA256 1dcb9182c981b31d67522ae24e925563bed57cf950dc681580c4b0abb6a65bdb SHA512 94170de6e23c1c2380866e5195a3cdac795f30bda560ee3869bcdd9aa42b831fa3aac1a351033f72ed81d501b8e3e02db9bb5e5ada29e51ea4b1d2cca7af6217 WHIRLPOOL 724144216788a3837e2afb45b88a9ea757984e45841a365cfc7b17b43269069600dd9ed261f4b108527eb5f19b151500b24e4544c8e3f944cc1d7392e39b6c4a
+EBUILD liboping-1.8.0.ebuild 940 SHA256 2507dd619d7255a3ac138be59ef72bf96a519623343c098678543114705deb5d SHA512 9d5f3159ded0a362926c558fed574d7aa400df5bfe322373744e8e3c4179d224e0eb4d8d08f8b8d1a861503c1f16dd9e857ed170b37986e161e272f1f85bc2f8 WHIRLPOOL d8068c15cff27b410b87da4afa09e92a324a87e9baa9b09ac20f5d8a34623993f8b154f542dee42260cd5fc2020b20abcbd49ea990a3e2f0d3cf76b097a51253
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/liboping/liboping-1.8.0.ebuild	Fri Nov 21 07:37:17 2014 +0100
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/liboping/liboping-1.8.0.ebuild,v 1.1 2014/10/10 01:47:32 dlan Exp $
+
+EAPI=5
+
+inherit base autotools
+
+DESCRIPTION="C library and ncurses based program to generate ICMP echo requests and ping multiple hosts at once"
+HOMEPAGE="http://verplant.org/liboping"
+SRC_URI="http://noping.cc/files/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="perl"
+
+DEPEND="
+	sys-libs/ncurses
+	perl? ( dev-lang/perl )
+"
+RDEPEND=${DEPEND}
+
+#PATCHES=( "${FILESDIR}/${PN}-1.6.2-nouidmagic.patch" )
+
+src_prepare() {
+	base_src_prepare
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_with perl perl-bindings INSTALLDIRS=vendor) \
+		--disable-static
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la'  -delete || die
+
+	fperms u+s,og-r /usr/bin/oping
+	fperms u+s,og-r /usr/bin/noping
+}