/[gentoo-x86]/net-analyzer/2ping/2ping-2.0.ebuild
Gentoo

Contents of /net-analyzer/2ping/2ping-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 23 11:50:23 2012 UTC (2 years, 4 months ago) by blueness
Branch: MAIN
Version bump

(Portage version: 2.1.10.49/cvs/Linux x86_64)

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/2ping/2ping-1.2.3.ebuild,v 1.1 2012/03/18 12:55:41 blueness Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="A bi-directional ping utility"
8 HOMEPAGE="http://www.finnie.org/software/2ping/"
9 SRC_URI="http://www.finnie.org/software/2ping/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="crc ipv6 md5 sha server"
15
16 # The 2ping script itself checks if these optional deps are available.
17 DEPEND="
18 dev-lang/perl
19 perl-core/Getopt-Long
20 perl-core/PodParser
21 perl-core/IO
22 perl-core/Time-HiRes
23 ipv6? ( dev-perl/IO-Socket-INET6 )
24 md5? ( perl-core/Digest-MD5 )
25 sha? ( perl-core/Digest-SHA )
26 crc? ( dev-perl/Digest-CRC )
27 "
28 RDEPEND="${DEPEND}"
29
30 src_install() {
31 emake DESTDIR="${D}" PREFIX="/usr" install
32 dodoc ChangeLog README
33 use server && {
34 doinitd "${FILESDIR}"/2pingd
35 newconfd "${FILESDIR}"/2pingd.conf 2pingd
36 }
37 }

  ViewVC Help
Powered by ViewVC 1.1.20