]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - perl-WWW-Curl/perl-WWW-Curl.nm
Update ccache to 4.8.3
[people/pmueller/ipfire-3.x.git] / perl-WWW-Curl / perl-WWW-Curl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-WWW-Curl
7 version = 4.17
8 release = 3
9 thisapp = WWW-Curl-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/WWW-Curl
13 license = GPL+
14 summary = Perl extension interface for libcurl.
15
16 description
17 WWW::Curl is a Perl extension interface for libcurl..
18 end
19
20 source_dl = http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/
21
22 build
23 requires
24 libcurl-devel
25 perl(FindBin)
26 perl(ExtUtils::MakeMaker)
27 perl(ExtUtils::ParseXS)
28 perl(Module::Install)
29 perl(Test::More)
30 end
31
32 build
33 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
34 make %{PARALLELISMFLAGS}
35 end
36
37 test
38 # The following tests requires network connectivity
39 # Remove them
40 rm t/01basic.t
41 rm t/02callbacks.t
42 rm t/04abort-test.t
43 rm t/05progress.t
44 rm t/08ssl.t
45 rm t/09times.t
46 rm t/14duphandle.t
47 rm t/15duphandle-callback.t
48 rm t/18twinhandles.t
49 rm t/19multi.t
50 rm t/21write-to-scalar.t
51
52 make test
53 end
54
55 make_install_targets = \
56 pure_install
57
58 install_cmds
59 # Set correct library permissions.
60 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
61 -exec chmod 755 {} \;
62 end
63 end
64
65 packages
66 package %{name}
67 requires
68 perl(:MODULE_COMPAT_%{perl_version})
69 end
70 end
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
75 end