diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-26 07:19:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-26 07:21:10 +0000 |
commit | 5b234109c4d6581e69218517916ec1e02af2ee65 (patch) | |
tree | 20b6deaa0faf5859c7bc9bc6b4a6a2c0ecd58b63 /main/perl-cpan-meta-check | |
parent | 4dbf570a9ef5dbfc0006d45ba4aaf15fe91c836a (diff) | |
download | aports-5b234109c4d6581e69218517916ec1e02af2ee65.tar.bz2 aports-5b234109c4d6581e69218517916ec1e02af2ee65.tar.xz |
main/perl-cpan-meta-check: new aport
Verify requirements in a CPAN::Meta object
http://search.cpan.org/dist/CPAN-Meta-Check/
needed by perl-test-warnings
Diffstat (limited to 'main/perl-cpan-meta-check')
-rw-r--r-- | main/perl-cpan-meta-check/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-cpan-meta-check/APKBUILD b/main/perl-cpan-meta-check/APKBUILD new file mode 100644 index 0000000000..e0e1f95865 --- /dev/null +++ b/main/perl-cpan-meta-check/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=perl-cpan-meta-check +_pkgreal=CPAN-Meta-Check +pkgver=0.011 +pkgrel=0 +pkgdesc="Verify requirements in a CPAN::Meta object" +url="http://search.cpan.org/dist/CPAN-Meta-Check/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-module-metadata>=1.000023" +cpanmakedepends=" perl-test-deep" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="2591aa5dd0658a6502a7bf068754e7bd CPAN-Meta-Check-0.011.tar.gz" +sha256sums="70127009da00525b3bd254ca334b857b45f1ef431fd111f383bc8d066107b15b CPAN-Meta-Check-0.011.tar.gz" +sha512sums="3140be2b6de685e84a6b363a8396a91d7423617068df5fdb52a14632d17fcab8a51eb7e2ffd74cdcee422086558d5c4bc0823c5568a5cbd73e06db84b7dbd3c0 CPAN-Meta-Check-0.011.tar.gz" |