summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-net-smtp-ssl/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perl-net-smtp-ssl/APKBUILD b/main/perl-net-smtp-ssl/APKBUILD
new file mode 100644
index 000000000..f5a6bcb3a
--- /dev/null
+++ b/main/perl-net-smtp-ssl/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-net-smtp-ssl
+_realname=Net-SMTP-SSL
+pkgver=1.01
+pkgrel=0
+pkgdesc="SSL support for Net::SMTP"
+url="http://search.cpan.org/dist/Net-SMTP-SSL/"
+license="GPL"
+depends="perl perl-io-socket-ssl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/Net-SMTP-SSL-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="ba039288ebf7a343feecacd374da8c1a Net-SMTP-SSL-1.01.tar.gz"