summaryrefslogtreecommitdiff
path: root/system/perl-authen-sasl/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:17:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:17:49 -0500
commit09976e29f40e7eafbe55f9a70732b2e961d6ac02 (patch)
treea0c2b5c6900e9e9af42449ed1792b499c1add38c /system/perl-authen-sasl/APKBUILD
parent13e6e7d5cf2584cf345743cc0e8113e78138b183 (diff)
downloadpackages-09976e29f40e7eafbe55f9a70732b2e961d6ac02.tar.gz
packages-09976e29f40e7eafbe55f9a70732b2e961d6ac02.tar.bz2
packages-09976e29f40e7eafbe55f9a70732b2e961d6ac02.tar.xz
packages-09976e29f40e7eafbe55f9a70732b2e961d6ac02.zip
system/perl-authen-sasl: pull in for git-email
Diffstat (limited to 'system/perl-authen-sasl/APKBUILD')
-rw-r--r--system/perl-authen-sasl/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/system/perl-authen-sasl/APKBUILD b/system/perl-authen-sasl/APKBUILD
new file mode 100644
index 000000000..611d30fa7
--- /dev/null
+++ b/system/perl-authen-sasl/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-authen-sasl
+_realname=Authen-SASL
+pkgver=2.16
+pkgrel=2
+pkgdesc="SASL authentication framework for Perl"
+url="http://search.cpan.org/dist/Authen-SASL/"
+arch="noarch"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+depends="perl perl-digest-hmac"
+makedepends="perl-dev perl-module-install"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-$pkgver.tar.gz"
+builddir="$srcdir/$_realname-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ 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="d472b8b07b8915e65a219c0a40a7b6f25ca4fb767df301f426224b8f6ebf24d66fcb4422a1f421c39631e84585af06f6c64e41abe11e1e505d03e43a9f86bd6f Authen-SASL-2.16.tar.gz"