blob: e1c9d07a8c3896a62311b6c826ca631c1aa049e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-cache-cache
_pkgreal=Cache-Cache
pkgver=1.08
pkgrel=0
pkgdesc="Perl modules for cache-handling for applications"
url="http://search.cpan.org/dist/Cache-Cache/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-error perl-digest-sha1"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev perl-ipc-sharelite $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="c18bfc823055d1df5255ae834e161749 Cache-Cache-1.08.tar.gz"
sha256sums="d2c7fd5dba5dd010b7d8923516890bb6ccf6b5f188ccb69f35cb0fd6c031d1e8 Cache-Cache-1.08.tar.gz"
sha512sums="7b0f215b9c765840a1ca1e831735aeff610288048c352889408d514d41820b9315d2de03712b4ad6637d9f0db59467240a0918c22c1257a3f87bc62add4f0e06 Cache-Cache-1.08.tar.gz"
|