]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - pkgs/perl-libwww-perl/perl-libwww-perl.nm
Change file layout of the makefiles.
[people/pmueller/ipfire-3.x.git] / pkgs / perl-libwww-perl / perl-libwww-perl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-libwww-perl
7 version = 5.837
8 release = 1
9 epoch = 1
10 arch = noarch
11 thisapp = libwww-perl-%{version}
12
13 groups = Development/Libraries
14 url = http://search.cpan.org/dist/libwww-perl/
15 license = GPL+ or Artistic
16 summary = A Perl interface to the World-Wide Web.
17
18 description
19 The libwww-perl collection is a set of Perl modules which provides a simple and
20 consistent application programming interface to the World-Wide Web.
21 end
22
23 source_dl =
24
25 build
26 requires
27 mailcap
28 perl-core
29 perl-devel
30 perl-HTML-Parser
31 perl-libwww-perl
32 perl(Test::More)
33 perl(Compress::Zlib)
34 perl(MIME::Base64)
35 perl(Net::FTP)
36 end
37
38 # Filter string for very weird dependencies.
39 export PKG_REQUIRES_FILTER = (HTTP::Headers|HTTP::GHTTP|Win32|Authen::NTLM)
40
41 build
42 perl Makefile.PL INSTALLDIRS=perl --aliases < /dev/null
43 make %{PARALLELISMFLAGS}
44 end
45
46 test
47 # Use system wide MIME types (link also to blib/... for "make test"). Doing
48 # this stuff before "make install" would not cause the symlink to be packaged
49 # but a copy of /etc/mime.types.
50 ln -svf /etc/mime.types %{DIR_APP}/blib/lib/LWP/media.types
51
52 make test
53 end
54 end
55
56 packages
57 package %{name}
58 end