summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcube <cube>2010-07-04 17:48:06 +0000
committercube <cube>2010-07-04 17:48:06 +0000
commit32452679158b61c94a417644c6735309148ced23 (patch)
treeadf7313ebbd193ab02b9963aa90014ea0007c58d
parenta7a180624d4f57f32df37e1442c4b07978b9379b (diff)
downloadpkgsrc-32452679158b61c94a417644c6735309148ced23.tar.gz
Initial import of devel/p5-Tie-Cache-LRU.
This module implements a least recently used (LRU) cache in memory through a tie interface. Any time data is stored in the tied hash, that key/value pair has an entry time associated with it, and as the cache fills up, those members of the cache that are the oldest are removed to make room for new entries.
-rw-r--r--devel/p5-Tie-Cache-LRU/DESCR5
-rw-r--r--devel/p5-Tie-Cache-LRU/Makefile23
-rw-r--r--devel/p5-Tie-Cache-LRU/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-Tie-Cache-LRU/DESCR b/devel/p5-Tie-Cache-LRU/DESCR
new file mode 100644
index 00000000000..f9195067920
--- /dev/null
+++ b/devel/p5-Tie-Cache-LRU/DESCR
@@ -0,0 +1,5 @@
+This module implements a least recently used (LRU) cache in memory
+through a tie interface. Any time data is stored in the tied hash, that
+key/value pair has an entry time associated with it, and as the cache
+fills up, those members of the cache that are the oldest are removed to
+make room for new entries.
diff --git a/devel/p5-Tie-Cache-LRU/Makefile b/devel/p5-Tie-Cache-LRU/Makefile
new file mode 100644
index 00000000000..8debeaf8627
--- /dev/null
+++ b/devel/p5-Tie-Cache-LRU/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/04 17:48:06 cube Exp $
+
+DISTNAME= Tie-Cache-LRU-20081023.2116
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tie/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Tie-Cache-LRU/
+COMMENT= Least-Recently Used cache
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Carp-Assert-[0-9]*:../../devel/p5-Carp-Assert
+DEPENDS+= p5-enum-[0-9]*:../../devel/p5-enum
+DEPENDS+= p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable
+DEPENDS+= p5-Class-Virtual-[0-9]*:../../devel/p5-Class-Virtual
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Tie/Cache/LRU/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Tie-Cache-LRU/distinfo b/devel/p5-Tie-Cache-LRU/distinfo
new file mode 100644
index 00000000000..24b6a60d414
--- /dev/null
+++ b/devel/p5-Tie-Cache-LRU/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/04 17:48:06 cube Exp $
+
+SHA1 (Tie-Cache-LRU-20081023.2116.tar.gz) = f20d3e6bcc66b41551d3afb78e7b3a330323eb9d
+RMD160 (Tie-Cache-LRU-20081023.2116.tar.gz) = f687b691c7c02f9538c05fdbb1dbc77c64edbced
+Size (Tie-Cache-LRU-20081023.2116.tar.gz) = 141728 bytes