diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-25 17:34:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-27 07:32:26 +0000 |
commit | 568b537c45360875e4a1caaf0d9db2a5f3ada2c2 (patch) | |
tree | eec9568c7e8a1c55c77ab38b534fa156b9235ac0 /testing/perl-module-runtime-conflicts/APKBUILD | |
parent | 104796ba298ee612001b1dfa9794d3f771b18669 (diff) | |
download | aports-568b537c45360875e4a1caaf0d9db2a5f3ada2c2.tar.bz2 aports-568b537c45360875e4a1caaf0d9db2a5f3ada2c2.tar.xz |
testing/perl-module-runtime-conflicts: new aport
Provide information on conflicts for Module::Runtime
http://search.cpan.org/dist/Module-Runtime-Conflicts/
Diffstat (limited to 'testing/perl-module-runtime-conflicts/APKBUILD')
-rw-r--r-- | testing/perl-module-runtime-conflicts/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-module-runtime-conflicts/APKBUILD b/testing/perl-module-runtime-conflicts/APKBUILD new file mode 100644 index 0000000000..ce85dc1e23 --- /dev/null +++ b/testing/perl-module-runtime-conflicts/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-module-runtime-conflicts +_pkgreal=Module-Runtime-Conflicts +pkgver=0.001 +pkgrel=0 +pkgdesc="Provide information on conflicts for Module::Runtime" +url="http://search.cpan.org/dist/Module-Runtime-Conflicts/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-module-runtime perl-dist-checkconflicts" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="310e525981ac1338f247626b8ce53dff Module-Runtime-Conflicts-0.001.tar.gz" +sha256sums="0f73d03846575dd1492d3760deeb9627afaa1f8b04d4d526b1775174201be25f Module-Runtime-Conflicts-0.001.tar.gz" +sha512sums="67d39313027a9099b11726caa9c0f09fc157757493b06019b3004464a25c6c1a2f21f16f32860172556ce8f6bea891c5ac18f6c00250a45a380662504699b3e9 Module-Runtime-Conflicts-0.001.tar.gz" |