pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-lru Added devel/ocaml-lru, scalable LRU ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dae08333874
branches:  trunk
changeset: 331497:6dae08333874
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 19 14:21:34 2019 +0000

description:
Added devel/ocaml-lru, scalable LRU caches for OCaml

diffstat:

 devel/ocaml-lru/DESCR         |   2 ++
 devel/ocaml-lru/Makefile      |  23 +++++++++++++++++++++++
 devel/ocaml-lru/PLIST         |  14 ++++++++++++++
 devel/ocaml-lru/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-lru/distinfo      |   6 ++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 996bf0bb7805 -r 6dae08333874 devel/ocaml-lru/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-lru/DESCR     Tue Mar 19 14:21:34 2019 +0000
@@ -0,0 +1,2 @@
+ocaml-lru provides LRU caches for OCaml. These are size-bounded finite maps that
+remove the least-recently-used (LRU) bindings to maintain their size constraint.
diff -r 996bf0bb7805 -r 6dae08333874 devel/ocaml-lru/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-lru/Makefile  Tue Mar 19 14:21:34 2019 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 14:21:34 jaapb Exp $
+
+GITHUB_PROJECT=        lru
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.2.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=pqwy/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pqwy/lru/
+COMMENT=       Scalable LRU caches for OCaml
+LICENSE=       isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_TOPKG=       yes
+OCAML_USE_OPAM=        yes
+
+.include "../../devel/ocaml-psq/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 996bf0bb7805 -r 6dae08333874 devel/ocaml-lru/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-lru/PLIST     Tue Mar 19 14:21:34 2019 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 14:21:34 jaapb Exp $
+${OCAML_SITELIB}/lru/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/lru/lru.a
+${OCAML_SITELIB}/lru/lru.cma
+${OCAML_SITELIB}/lru/lru.cmi
+${OCAML_SITELIB}/lru/lru.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/lru/lru.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/lru/lru.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/lru/lru.cmxs
+${OCAML_SITELIB}/lru/lru.mli
+${OCAML_SITELIB}/lru/opam
+share/doc/lru/CHANGES.md
+share/doc/lru/LICENSE.md
+share/doc/lru/README.md
diff -r 996bf0bb7805 -r 6dae08333874 devel/ocaml-lru/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-lru/buildlink3.mk     Tue Mar 19 14:21:34 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 14:21:34 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-lru
+
+.if !defined(OCAML_LRU_BUILDLINK3_MK)
+OCAML_LRU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-lru+=      ocaml-lru>=0.2.0
+BUILDLINK_PKGSRCDIR.ocaml-lru?=        ../../devel/ocaml-lru
+
+.endif # OCAML_LRU_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-lru
diff -r 996bf0bb7805 -r 6dae08333874 devel/ocaml-lru/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-lru/distinfo  Tue Mar 19 14:21:34 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 14:21:34 jaapb Exp $
+
+SHA1 (lru-0.2.0.tar.gz) = a83c0c26865293cb4d9f17531956a716fa6fb555
+RMD160 (lru-0.2.0.tar.gz) = ab69597144e9e6f22b13dbdb63505b567af408b1
+SHA512 (lru-0.2.0.tar.gz) = 5ccb670c8ce0afe91749d0dd993fae6177ea30bcce5a43c0e9139a01c7f843170ab9bc759980b77d9998ee39ca7739546525462e640a7a40dcca54771d98e023
+Size (lru-0.2.0.tar.gz) = 9862 bytes



Home | Main Index | Thread Index | Old Index