]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Net-SSLeay/perl-Net-SSLeay.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-Net-SSLeay / perl-Net-SSLeay.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Net-SSLeay
7 version = 1.85
8 release = 3
9 thisapp = Net-SSLeay-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/~flora/Net_SSLeay.pm/
13 license = GPL+ or Artistic
14 summary = Perl extension for using OpenSSL
15
16 description
17 Net::SSLeay module contains perl bindings to openssl library.
18 end
19
20 source_dl = http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/
21
22 build
23 requires
24 openssl-devel
25 perl(AutoLoader)
26 perl(FindBin)
27 perl(ExtUtils::MakeMaker)
28 perl(Module::Install)
29 perl(Test::More)
30 zlib-devel
31 end
32
33 build
34 PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
35 INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
36 make %{PARALLELISMFLAGS}
37 end
38
39 # Testsuite starts but freezes after a few tests.
40 #test
41 # make test
42 #end
43
44 install_cmds
45 # Set correct library permissions.
46 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
47 -exec chmod 755 {} \;
48 end
49 end
50
51 packages
52 package %{name}
53 requires
54 perl(:MODULE_COMPAT_%{perl_version})
55 perl(MIME::Base64)
56 perl(XSLoader)
57 end
58 end
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
63 end