summaryrefslogtreecommitdiff
blob: e682109e50222d5e83920b4febb12f5890232842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.6.0.ebuild,v 1.1 2011/02/08 23:38:37 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
}