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 2517 - (hide annotations) (download)
Thu Jul 9 20:23:01 2009 UTC (14 years, 10 months ago) by niro
Original Path: trunk/todo/perl-libnet/perl-libnet-1.22-r2.smage2
File size: 1042 byte(s)
-moved to 'todo'
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 niro 2166 UP2DATE="updatecmd_perl ${PNAME/perl-/} gz"
27    
28 niro 2 src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # create libnet configuration
34     cat > ${SRCDIR}/libnet.cfg << EOF
35     {
36     'ftp_int_passive' => 0,
37     'snpp_hosts' => [],
38     'inet_domain' => undef,
39     'test_exist' => 1,
40     'ftp_testhost' => undef,
41     'daytime_hosts' => [],
42     'ph_hosts' => [],
43     'time_hosts' => [],
44     'smtp_hosts' => [],
45     'test_hosts' => 1,
46     'nntp_hosts' => [],
47     'pop3_hosts' => [],
48     }
49     EOF
50    
51     }

Properties

Name Value
svn:keywords Id