Magellan Linux

Annotation of /branches/magellan-0_10_0/todo/perl-libnet/perl-libnet-1.22-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
Original Path: trunk/extras/perl-libnet/perl-libnet-1.22-r2.smage2
File size: 997 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/perl-libnet/perl-libnet-1.22-r2.smage2,v 1.1 2008/03/24 00:47:33 niro Exp $
2    
3     PNAME="perl-libnet"
4     PVER="1.22"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-perl"
8     STATE="unstable"
9    
10     DESCRIPTION="libnet is a collection of perl5 modules which all related to network programming."
11     HOMEPAGE="http://search.cpan.org/~gbarr/"
12    
13     DEPEND=">= dev-lang/perl-5.10
14     >= dev-perl/authen-sasl-2"
15    
16     SRCFILE="${PNAME/perl-/}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME/perl-/}-${PVER}"
18    
19     sminclude perl
20    
21     SRC_URI=(
22     http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     # create libnet configuration
32     cat > ${SRCDIR}/libnet.cfg << EOF
33     {
34     'ftp_int_passive' => 0,
35     'snpp_hosts' => [],
36     'inet_domain' => undef,
37     'test_exist' => 1,
38     'ftp_testhost' => undef,
39     'daytime_hosts' => [],
40     'ph_hosts' => [],
41     'time_hosts' => [],
42     'smtp_hosts' => [],
43     'test_hosts' => 1,
44     'nntp_hosts' => [],
45     'pop3_hosts' => [],
46     }
47     EOF
48    
49     }

Properties

Name Value
svn:keywords Id