diff options
author | Timothy Legge <timlegge@gmail.com> | 2020-08-19 19:38:37 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-09-21 23:36:18 +0000 |
commit | 0aee22c6cf6a873d032132975a6574030bb8abe4 (patch) | |
tree | b30f9d4fd58375af67fa4b9c92ee68d3e75fd59d | |
parent | f437fbc34a59a432f6cd8f168bd8a1ec9a4de6a7 (diff) | |
download | aports-0aee22c6cf6a873d032132975a6574030bb8abe4.tar.gz aports-0aee22c6cf6a873d032132975a6574030bb8abe4.tar.bz2 aports-0aee22c6cf6a873d032132975a6574030bb8abe4.tar.xz |
testing/perl-module-build-xsutil: new aport
-rw-r--r-- | testing/perl-module-build-xsutil/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-module-build-xsutil/APKBUILD b/testing/perl-module-build-xsutil/APKBUILD new file mode 100644 index 0000000000..673669180d --- /dev/null +++ b/testing/perl-module-build-xsutil/APKBUILD @@ -0,0 +1,35 @@ +# Automatically generated by apkbuild-cpan, template 3 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-module-build-xsutil +#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan +_pkgreal=Module-Build-XSUtil +pkgver=0.19 +pkgrel=0 +pkgdesc="A Module::Build class for building XS modules" +url="https://metacpan.org/release/Module-Build-XSUtil/" +arch="noarch" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl perl-devel-checkcompiler" +makedepends="perl-dev perl-module-build perl-module-build" +checkdepends="perl-capture-tiny perl-file-copy-recursive-reduced perl-cwd-guard" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + perl Build.PL --installdirs=vendor + ./Build +} + +check() { + ./Build test +} + +package() { + ./Build install --destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="187f504c3f26d15b96cdc5b682d3487a31cf124475160b7fe5dce727d5d6ec5de5a58d09535adb62a1a95b3030fb62951b2cc0eca860eb03c66a48042cea8819 Module-Build-XSUtil-0.19.tar.gz" |