summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/perl-io-socket-ssl/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/system/perl-io-socket-ssl/APKBUILD b/system/perl-io-socket-ssl/APKBUILD
new file mode 100644
index 000000000..c5c982c33
--- /dev/null
+++ b/system/perl-io-socket-ssl/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-io-socket-ssl
+_pkgreal=IO-Socket-SSL
+pkgver=2.056
+pkgrel=0
+pkgdesc="Perl module implementing SSL/TLS with IO::Socket interface"
+url="http://search.cpan.org/dist/IO-Socket-SSL/"
+arch="noarch"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+depends="ca-certificates perl-net-libidn perl-net-ssleay"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare
+
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="a3d580f977f8fd99f196a710f6eb5bc649d46e22d17f4e02660b2bab130629b34d1aff037974f320ce52121b13c1d77aa2f504278ec50530667e67413442b70b IO-Socket-SSL-2.056.tar.gz"