From f2e69f57098ad48daad525cc23956c00f9072be2 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 24 Dec 2013 09:29:01 +0000 Subject: testing/perl-probe-perl: move to main --- main/perl-probe-perl/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 main/perl-probe-perl/APKBUILD (limited to 'main/perl-probe-perl') diff --git a/main/perl-probe-perl/APKBUILD b/main/perl-probe-perl/APKBUILD new file mode 100644 index 0000000000..0528aa921d --- /dev/null +++ b/main/perl-probe-perl/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-probe-perl +_pkgreal=Probe-Perl +pkgver=0.01 +pkgrel=0 +pkgdesc="Information about the currently running perl" +url="http://search.cpan.org/dist/Probe-Perl/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + 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="b6f613a7d07dde568a0d4b9570de47c3 Probe-Perl-0.01.tar.gz" -- cgit v1.2.3