summaryrefslogtreecommitdiff
path: root/p5-net-ssleay/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-03-30 20:23:34 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-03-30 20:23:34 +1000
commita9c7dd889c3f554924b30d36e55910763c1d07af (patch)
tree7b0710f282644ace4c47d17866ee7d59b6ce1012 /p5-net-ssleay/Pkgfile
parent7cf4363df66256fa17adaf904dc3eeed3051989d (diff)
downloadcontrib-a9c7dd889c3f554924b30d36e55910763c1d07af.tar.gz
contrib-a9c7dd889c3f554924b30d36e55910763c1d07af.tar.xz
p5-net-ssleay: new port
Diffstat (limited to 'p5-net-ssleay/Pkgfile')
-rw-r--r--p5-net-ssleay/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/p5-net-ssleay/Pkgfile b/p5-net-ssleay/Pkgfile
new file mode 100644
index 000000000..af7697c99
--- /dev/null
+++ b/p5-net-ssleay/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Perl extension for using OpenSSL.
+# URL: http://search.cpan.org/~sampo/Net_SSLeay.pm-1.25/
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Younes Hafri, ycrux at club dash internet dot fr
+# Depends on: openssl
+
+name=p5-net-ssleay
+version=1.30
+release=1
+source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net_SSLeay.pm-$version.tar.gz)
+
+build() {
+ cd Net_SSLeay.pm-$version
+ perl Makefile.PL
+ make OPTIMIZE="$CFLAGS"
+ make DESTDIR=$PKG install
+
+ # Remove perlcrap
+ find $PKG \( \
+ -name '.packlist' -or \
+ -name '*.bs' -or \
+ -name 'perllocal.pod' \) -delete
+
+ # Remove empty directories
+ find $PKG -depth -empty -delete
+}
+

Generated by cgit