]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-Net-SSLeay: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2015 22:58:05 +0000 (22:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2015 22:58:05 +0000 (22:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-Net-SSLeay/perl-Net-SSLeay.nm [new file with mode: 0644]

diff --git a/perl-Net-SSLeay/perl-Net-SSLeay.nm b/perl-Net-SSLeay/perl-Net-SSLeay.nm
new file mode 100644 (file)
index 0000000..5a6e166
--- /dev/null
@@ -0,0 +1,47 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Net-SSLeay
+version    = 1.69
+release    = 1
+thisapp    = Net-SSLeay-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/~flora/Net_SSLeay.pm/
+license    = GPL+ or Artistic
+summary    = Perl extension for using OpenSSL
+
+description
+       Net::SSLeay module contains perl bindings to openssl library.
+end
+
+source_dl  = http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/
+
+build
+       requires
+               openssl-devel
+               perl(ExtUtils::MakeMaker)
+               perl(Test::More) >= 0.47
+               zlib-devel
+       end
+
+       build
+               PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
+                       INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end