/[gentoo-x86]/net-analyzer/pinger/pinger-0.32d.ebuild
Gentoo

Contents of /net-analyzer/pinger/pinger-0.32d.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 4 06:08:11 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/pinger/pinger-0.32d.ebuild,v 1.4 2011/12/17 01:50:20 pva Exp $
4
5 EAPI=2
6
7 inherit eutils flag-o-matic
8
9 DESCRIPTION="Cyclic multi ping utility for selected adresses using GTK/ncurses."
10 HOMEPAGE="http://aa.vslib.cz/silk/projekty/pinger/index.php"
11 SRC_URI="http://aa.vslib.cz/silk/projekty/pinger/download/${P}.tar.gz
12 mirror://gentoo/gtk-2.0-for-pinger.m4.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ~ppc x86"
17 IUSE="gtk nls"
18
19 RDEPEND="gtk? ( >=x11-libs/gtk+-2.4:2 )
20 sys-libs/ncurses"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig"
23
24 src_configure() {
25 append-flags -D_GNU_SOURCE
26 use nls || myconf="${myconf} --disable-nls"
27
28 econf \
29 $(use_enable gtk) \
30 ${myconf}
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die "emake install failed"
35 dodoc AUTHORS BUGS ChangeLog NEWS README
36
37 use gtk || rm "${D}"/usr/bin/gtkpinger
38 }

  ViewVC Help
Powered by ViewVC 1.1.20