diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-31 10:24:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-31 10:24:16 +0000 |
commit | bc66b22c382bce87ffa0f963137578c6c93e308f (patch) | |
tree | 36c124d26a410f284a70a6b58ba393f534100bf5 /main/perl-extutils-installpaths | |
parent | 95ccda45456fef1c836263890e2861a06ae1a99c (diff) | |
download | aports-bc66b22c382bce87ffa0f963137578c6c93e308f.tar.bz2 aports-bc66b22c382bce87ffa0f963137578c6c93e308f.tar.xz |
main/perl-extutils-installpaths: move from testing
Diffstat (limited to 'main/perl-extutils-installpaths')
-rw-r--r-- | main/perl-extutils-installpaths/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-extutils-installpaths/APKBUILD b/main/perl-extutils-installpaths/APKBUILD new file mode 100644 index 0000000000..2fd95ce250 --- /dev/null +++ b/main/perl-extutils-installpaths/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-extutils-installpaths +_pkgreal=ExtUtils-InstallPaths +pkgver=0.010 +pkgrel=0 +pkgdesc="Build.PL install path logic made easy" +url="http://search.cpan.org/dist/ExtUtils-InstallPaths/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-extutils-config" +cpanmakedepends=" " +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="f0b00cc6c04653588a6298fa1f16c07f ExtUtils-InstallPaths-0.010.tar.gz" +sha256sums="d14cbff118e467900c2c488b55b83ef697d6eb1b8f592c0521f1d82848bf2156 ExtUtils-InstallPaths-0.010.tar.gz" +sha512sums="3639e8e05b2d59d1a5c4548d74e51158ce6e6b2260d2958f5500b7bb2f64470b72b8b9690e3ec917ff6db8baf0a81038178336bccbc272116e16b520cac73f0f ExtUtils-InstallPaths-0.010.tar.gz" |