aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-06-02 11:09:45 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-06-02 11:48:25 +0300
commit0346c37d621537455a168a6a5fcb039bb939d3f6 (patch)
tree554be9fe6026f297bb30a51f953be83007be9edf
parent55edf4c41111d77a22e527b8a194aadea143094b (diff)
downloadaports-0346c37d621537455a168a6a5fcb039bb939d3f6.tar.bz2
aports-0346c37d621537455a168a6a5fcb039bb939d3f6.tar.xz
testing/perl-cache-cache: new apkbuild-cpan generated aport
Persisting data storage with timeouts http://search.cpan.org/dist/Cache-Cache/
-rw-r--r--testing/perl-cache-cache/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-cache-cache/APKBUILD b/testing/perl-cache-cache/APKBUILD
new file mode 100644
index 000000000..b06d6eb7f
--- /dev/null
+++ b/testing/perl-cache-cache/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-cache-cache
+_pkgreal=Cache-Cache
+pkgver=1.06
+pkgrel=0
+pkgdesc="Persisting data storage with timeouts"
+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 $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JS/JSWARTZ/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="4425f44ddb138a799290802e5aad46ef Cache-Cache-1.06.tar.gz"