annotate net-libs/liboping/liboping-1.8.0.ebuild @ 414:a24c5e721955

add an ebuild for dart
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 26 Jul 2016 17:19:54 +0200
parents 9f4198a86b7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
369
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2014 Gentoo Foundation
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/liboping/liboping-1.8.0.ebuild,v 1.1 2014/10/10 01:47:32 dlan Exp $
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI=5
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 inherit base autotools
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="C library and ncurses based program to generate ICMP echo requests and ping multiple hosts at once"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://verplant.org/liboping"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="http://noping.cc/files/${P}.tar.bz2"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="LGPL-2.1 GPL-2"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="~amd64 ~x86"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 IUSE="perl"
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 DEPEND="
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 sys-libs/ncurses
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 perl? ( dev-lang/perl )
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 "
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 RDEPEND=${DEPEND}
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 #PATCHES=( "${FILESDIR}/${PN}-1.6.2-nouidmagic.patch" )
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 src_prepare() {
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 base_src_prepare
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 eautoreconf
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 }
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 src_configure() {
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 econf \
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 $(use_with perl perl-bindings INSTALLDIRS=vendor) \
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 --disable-static
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 }
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 src_install() {
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 default
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 find "${D}" -name '*.la' -delete || die
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 fperms u+s,og-r /usr/bin/oping
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 fperms u+s,og-r /usr/bin/noping
9f4198a86b7d ebuild for liboping 1.8
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 }