]>
Commit | Line | Data |
---|---|---|
ab67471f | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
ab67471f SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = perl-libwww-perl |
7 | version = 5.837 | |
8 | release = 1 | |
9 | epoch = 1 | |
10 | arch = noarch | |
11 | thisapp = libwww-perl-%{version} | |
ab67471f | 12 | |
802ea3af MT |
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. | |
ab67471f | 17 | |
802ea3af MT |
18 | description |
19 | The libwww-perl collection is a set of Perl modules which provides a simple and | |
ab67471f | 20 | consistent application programming interface to the World-Wide Web. |
802ea3af MT |
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 |