diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-03-24 00:15:06 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-26 11:47:53 +0000 |
commit | 816753c3c244abe6e38b10b219943e629117d3ea (patch) | |
tree | 9c16718ebe740b74e91f80643b77b6286038e946 /testing/perl-gssapi | |
parent | d54504f8169da1e0544a6f63856dd40d26afb3a1 (diff) | |
download | aports-816753c3c244abe6e38b10b219943e629117d3ea.tar.bz2 aports-816753c3c244abe6e38b10b219943e629117d3ea.tar.xz |
testing/perl-gssapi: new aport
Diffstat (limited to 'testing/perl-gssapi')
-rw-r--r-- | testing/perl-gssapi/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-gssapi/APKBUILD b/testing/perl-gssapi/APKBUILD new file mode 100644 index 0000000000..c0e38eec64 --- /dev/null +++ b/testing/perl-gssapi/APKBUILD @@ -0,0 +1,36 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-gssapi +_pkgreal=GSSAPI +pkgver=0.28 +pkgrel=0 +pkgdesc="Perl module for GSSAPI" +url="https://metacpan.org/release/GSSAPI/" +arch="all" +license="GPL PerlArtistic" +makedepends="perl-dev krb5-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/A/AG/AGROLMS/GSSAPI-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="4bae4729c216da099f6f0479ef34874fa62c1afc57bf56860e1ce082e9e6a902ec072f9e976ab2f1914df1bbad6b6689af04a9867b3ca1a9f11d0287e58aa204 GSSAPI-0.28.tar.gz" |