main/perl-cache-cache: update

This commit is contained in:
Kiyoshi Aman 2011-12-06 07:26:01 -05:00
parent eadbf4fe89
commit c841aba2d8

View File

@ -1,16 +1,16 @@
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-cache-cache
_pkgreal=Cache-Cache
pkgver=1.06
pkgrel=0
pkgdesc="Persisting data storage with timeouts"
pkgdesc="unknown"
url="http://search.cpan.org/dist/Cache-Cache/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-error perl-digest-sha1"
cpanmakedepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
@ -20,12 +20,14 @@ _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"
make
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {