summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2010-07-04 17:48:06 +0000
committercube <cube@pkgsrc.org>2010-07-04 17:48:06 +0000
commit61a700f02ad7cddc5139175bc1a3ccb9d6975c85 (patch)
treeadf7313ebbd193ab02b9963aa90014ea0007c58d /devel
parent7fab5f77b3cb6602d64d801e0bc249fd7aed3577 (diff)
downloadpkgsrc-61a700f02ad7cddc5139175bc1a3ccb9d6975c85.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.
Diffstat (limited to 'devel')
-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