diff options
author | Sergey Safarov <s.safarov@gmail.com> | 2018-03-06 18:31:39 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-08 20:00:45 +0000 |
commit | 5d998ad3154a9f6b17f20045c4adba830f1a1f24 (patch) | |
tree | e3059d57fe28656f0826293ae3ed96e134d234be /testing | |
parent | dd3dd130a2b097b7b9bf4cec09d77d6007bf6a52 (diff) | |
download | aports-5d998ad3154a9f6b17f20045c4adba830f1a1f24.tar.bz2 aports-5d998ad3154a9f6b17f20045c4adba830f1a1f24.tar.xz |
testing/perl-ref-util-xs: new aport
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" |