summaryrefslogtreecommitdiff
path: root/system/perl-io-socket-ssl
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:13:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:13:35 -0500
commit027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf (patch)
treef747b8688e9c09b2906538e0f4847cdbdbe34699 /system/perl-io-socket-ssl
parent2715c8f1e5f1d0d1c7d13ad24e639d3867244675 (diff)
downloadpackages-027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf.tar.gz
packages-027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf.tar.bz2
packages-027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf.tar.xz
packages-027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf.zip
system/perl-io-socket-ssl: pull in for perl-net-smtp-ssl
Diffstat (limited to 'system/perl-io-socket-ssl')
-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"