diff options
author | Sergey Safarov <s.safarov@gmail.com> | 2018-03-06 18:31:11 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-08 20:01:11 +0000 |
commit | b099f6c61ebcf90262cb91fbc20f31df3dcb9210 (patch) | |
tree | af1637874e0041d5c9178d575ce0d0f131481786 /testing/perl-ref-util | |
parent | 5d998ad3154a9f6b17f20045c4adba830f1a1f24 (diff) | |
download | aports-b099f6c61ebcf90262cb91fbc20f31df3dcb9210.tar.bz2 aports-b099f6c61ebcf90262cb91fbc20f31df3dcb9210.tar.xz |
testing/perl-ref-util: new aport
Diffstat (limited to 'testing/perl-ref-util')
-rw-r--r-- | testing/perl-ref-util/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-ref-util/APKBUILD b/testing/perl-ref-util/APKBUILD new file mode 100644 index 0000000000..5f7e76d9ad --- /dev/null +++ b/testing/perl-ref-util/APKBUILD @@ -0,0 +1,35 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Sergey Safarov <s.safarov@gmail.com> +pkgname=perl-ref-util +_pkgreal=Ref-Util +pkgver=0.203 +pkgrel=0 +pkgdesc="Utility functions for checking references" +url="http://search.cpan.org/dist/Ref-Util/" +arch="noarch" +license="MIT" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/A/AR/ARC/$_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="bf0b1cde5adf869377aaee3c6a8fa8f40fc852c70f20dafdb3d7f3b7718eb19738a4d53c243e9809b7cff9e2e49a871f0336b4288b96048e91ae48634d12a392 Ref-Util-0.203.tar.gz" |