From 400d4c2642ae1c57c2b47166e8fdb95d5f90a664 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 29 Oct 2012 14:31:07 +0000 Subject: testing/perl-tie-refhash-weak: new aport --- testing/perl-tie-refhash-weak/APKBUILD | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/perl-tie-refhash-weak/APKBUILD (limited to 'testing/perl-tie-refhash-weak/APKBUILD') diff --git a/testing/perl-tie-refhash-weak/APKBUILD b/testing/perl-tie-refhash-weak/APKBUILD new file mode 100644 index 000000000..e1f8b89d6 --- /dev/null +++ b/testing/perl-tie-refhash-weak/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-tie-refhash-weak +_pkgreal=Tie-RefHash-Weak +pkgver=0.09 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Tie-RefHash-Weak/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-variable-magic perl-task-weaken" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/$_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="c7c6793fab417c9761d88f596dfb32e9 Tie-RefHash-Weak-0.09.tar.gz" -- cgit v1.2.3