diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 18:55:24 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 18:55:24 -0500 |
commit | 577b0d6c3d0c1ee436d1b345805728f0b1908edb (patch) | |
tree | e756f58207aa11a73182701f1d186f494f55ab44 /system | |
parent | 7c14ac9e9e252e3fa98c7afb9137189ae02789b5 (diff) | |
download | packages-577b0d6c3d0c1ee436d1b345805728f0b1908edb.tar.gz packages-577b0d6c3d0c1ee436d1b345805728f0b1908edb.tar.bz2 packages-577b0d6c3d0c1ee436d1b345805728f0b1908edb.tar.xz packages-577b0d6c3d0c1ee436d1b345805728f0b1908edb.zip |
system/perl-net-ssleay: pull in for perl-net-smtp-ssl
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-net-ssleay/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/system/perl-net-ssleay/APKBUILD b/system/perl-net-ssleay/APKBUILD new file mode 100644 index 000000000..6e0256315 --- /dev/null +++ b/system/perl-net-ssleay/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-net-ssleay +_realname=Net-SSLeay +pkgver=1.85 +pkgrel=0 +pkgdesc="Perl extension for using OpenSSL" +url="http://search.cpan.org/dist/Net-SSLeay/" +arch="all" +license="GPL-2.0-only OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev openssl-dev zlib-dev" +checkdepends="perl-test-exception perl-test-warn perl-test-nowarnings" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-$pkgver.tar.gz" +builddir="$srcdir/$_realname-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + + make DESTDIR="$pkgdir" install + + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +sha512sums="74e0f2f56b707f1ff845c78c1fa7ce26a71b8f943bb99e994d4e065d1f42259fe4cd1a6a17d333459727534158f9541f116dbc8515122380807d9450b0faa26b Net-SSLeay-1.85.tar.gz" |