]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-WWW-Curl/perl-WWW-Curl.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-WWW-Curl / perl-WWW-Curl.nm
CommitLineData
30747343
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-WWW-Curl
02d98b9f 7version = 4.17
e0d866c0 8release = 4
30747343
SS
9thisapp = WWW-Curl-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/WWW-Curl
13license = GPL+
14summary = Perl extension interface for libcurl.
15
16description
17 WWW::Curl is a Perl extension interface for libcurl..
18end
19
20source_dl = http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/
21
22build
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
63end
64
65packages
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
75end