diff options
Diffstat (limited to 'net-libs/liboping/liboping-1.5.1-r1.ebuild')
-rw-r--r-- | net-libs/liboping/liboping-1.5.1-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-libs/liboping/liboping-1.5.1-r1.ebuild b/net-libs/liboping/liboping-1.5.1-r1.ebuild new file mode 100644 index 000000000000..5f49fe45f779 --- /dev/null +++ b/net-libs/liboping/liboping-1.5.1-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/liboping/liboping-1.5.1-r1.ebuild,v 1.1 2011/01/07 22:36:52 dilfridge Exp $ + +EAPI=3 + +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://verplant.org/${PN}/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 sys-devel/libperl ) +" +RDEPEND=${DEPEND} + +src_configure() { + econf $(use_with perl perl-bindings INSTALLDIRS=vendor) --disable-static +} + +src_install() { + make DESTDIR="${D}" install || die + find "${D}" -name '*.la' -delete +} |