/[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.3 - (hide annotations) (download)
Mon Jul 21 19:05:53 2014 UTC (2 months, 1 week ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
PodParser becomes Pod-Parser

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

1 dilfridge 1.2 # Copyright 1999-2014 Gentoo Foundation
2 blueness 1.1 # Distributed under the terms of the GNU General Public License v2
3 dilfridge 1.3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/2ping/2ping-2.0.ebuild,v 1.2 2014/07/20 13:39:43 dilfridge Exp $
4 blueness 1.1
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 dilfridge 1.2 virtual/perl-Getopt-Long
20 dilfridge 1.3 virtual/perl-Pod-Parser
21 dilfridge 1.2 virtual/perl-IO
22     virtual/perl-Time-HiRes
23 blueness 1.1 ipv6? ( dev-perl/IO-Socket-INET6 )
24 dilfridge 1.2 md5? ( virtual/perl-Digest-MD5 )
25     sha? ( virtual/perl-Digest-SHA )
26 blueness 1.1 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