]>
Commit | Line | Data |
---|---|---|
30747343 SS |
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 | |
02d98b9f | 7 | version = 4.17 |
e0d866c0 | 8 | release = 4 |
30747343 SS |
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 | |
6259d545 | 24 | libcurl-devel |
6d690cfa | 25 | perl(FindBin) |
30747343 SS |
26 | perl(ExtUtils::MakeMaker) |
27 | perl(ExtUtils::ParseXS) | |
6d690cfa | 28 | perl(Module::Install) |
6259d545 | 29 | perl(Test::More) |
30747343 SS |
30 | end |
31 | ||
32 | build | |
33 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
34 | make %{PARALLELISMFLAGS} | |
35 | end | |
36 | ||
6259d545 SS |
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 | ||
b07c8a3a SS |
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 | |
30747343 SS |
63 | end |
64 | ||
65 | packages | |
66 | package %{name} | |
67 | requires | |
02d98b9f | 68 | perl(:MODULE_COMPAT_%{perl_version}) |
30747343 SS |
69 | end |
70 | end | |
71 | ||
72 | package %{name}-debuginfo | |
73 | template DEBUGINFO | |
74 | end | |
75 | end |