Magellan Linux

Contents of /trunk/extras/perl-libnet/perl-libnet-1.22-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4306 - (show annotations) (download)
Tue Dec 1 14:53:32 2009 UTC (14 years, 5 months ago) by niro
File size: 945 byte(s)
auto added: ver bump to 1.22-r3
1 # $Id$
2
3 PNAME="perl-libnet"
4 PVER="1.22"
5 PBUILD="r3"
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.13"
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 UP2DATE="updatecmd_perl ${PNAME/perl-/} gz"
27
28 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