diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-ref-util-xs/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-ref-util-xs/APKBUILD b/testing/perl-ref-util-xs/APKBUILD new file mode 100644 index 0000000000..84c4b0f3e8 --- /dev/null +++ b/testing/perl-ref-util-xs/APKBUILD @@ -0,0 +1,35 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Sergey Safarov <s.safarov@gmail.com> +pkgname=perl-ref-util-xs +_pkgreal=Ref-Util-XS +pkgver=0.117 +pkgrel=0 +pkgdesc="XS implementation for Ref::Util" +url="http://search.cpan.org/dist/Ref-Util-XS/" +arch="all" +license="MIT" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="5ebcd1bfd6c4b94c17f24c890342d4fba74a7a7c09b3d338208cd5d3fe6b6dd2c504c86ab555c27781b5ede2633d012bb7df819029ce89bec6bc269e21d567a0 Ref-Util-XS-0.117.tar.gz" |