diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 19:13:56 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 19:13:56 -0500 |
commit | 2a14273d2e530d1f099c755e589dce1975651023 (patch) | |
tree | b9296a2aff2f8edff8d266e8b5bf12af7d617218 /system/perl-net-smtp-ssl/APKBUILD | |
parent | 027a8ebdd3ffbdaaa2007f3068ee4abe553f0ddf (diff) | |
download | packages-2a14273d2e530d1f099c755e589dce1975651023.tar.gz packages-2a14273d2e530d1f099c755e589dce1975651023.tar.bz2 packages-2a14273d2e530d1f099c755e589dce1975651023.tar.xz packages-2a14273d2e530d1f099c755e589dce1975651023.zip |
system/perl-net-smtp-ssl: pull in for git-email
Diffstat (limited to 'system/perl-net-smtp-ssl/APKBUILD')
-rw-r--r-- | system/perl-net-smtp-ssl/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/system/perl-net-smtp-ssl/APKBUILD b/system/perl-net-smtp-ssl/APKBUILD new file mode 100644 index 000000000..67e08e266 --- /dev/null +++ b/system/perl-net-smtp-ssl/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-net-smtp-ssl +_pkgreal=Net-SMTP-SSL +pkgver=1.04 +pkgrel=0 +pkgdesc="SSL/TLS support for Net::SMTP" +url="http://search.cpan.org/dist/Net-SMTP-SSL/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="perl-io-socket-ssl perl-net-ssleay" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="dfbf59e5d895add19f5684c999c941ab56a58be39492a02e5a9bdac47039bf388279eda734c6b0422d228ac14efed899b3572561e6a34cfd9582423252efb509 Net-SMTP-SSL-1.04.tar.gz" |