mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 11:51:38 +01:00
main/perl-cache-cache: update
This commit is contained in:
parent
eadbf4fe89
commit
c841aba2d8
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user