diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-01-29 14:20:26 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-01-29 14:20:26 +0000 |
commit | aa0263f5f01b29a10ddf3501a30f947257f6dc33 (patch) | |
tree | 1405a624258dce5a555dba7f3bc4f0039b76a057 | |
parent | c59c06efa5d86adf7a0d6a0d76a2af8d39208a3c (diff) | |
download | pkgsrc-aa0263f5f01b29a10ddf3501a30f947257f6dc33.tar.gz |
Added devel/ocaml-resource-pooling 0.6
This is a library that handles resource (threads, connections etc)
pooling, needed for ocsigen-start.
-rw-r--r-- | devel/ocaml-resource-pooling/DESCR | 7 | ||||
-rw-r--r-- | devel/ocaml-resource-pooling/Makefile | 20 | ||||
-rw-r--r-- | devel/ocaml-resource-pooling/PLIST | 18 | ||||
-rw-r--r-- | devel/ocaml-resource-pooling/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-resource-pooling/distinfo | 6 |
5 files changed, 64 insertions, 0 deletions
diff --git a/devel/ocaml-resource-pooling/DESCR b/devel/ocaml-resource-pooling/DESCR new file mode 100644 index 00000000000..0ba111a4915 --- /dev/null +++ b/devel/ocaml-resource-pooling/DESCR @@ -0,0 +1,7 @@ +A library for pooling resources like connections, threads, or similar + +This package is derived from the module Lwt_pool from the lwt package, which +implements resource pooling. With Resource_pool this package provides a +modified version with additional features. Also there is a module called +Server_pool that manages resource clusters, specifically a cluster of servers +each with its own connection pool. diff --git a/devel/ocaml-resource-pooling/Makefile b/devel/ocaml-resource-pooling/Makefile new file mode 100644 index 00000000000..0cee5c51a70 --- /dev/null +++ b/devel/ocaml-resource-pooling/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2019/01/29 14:20:26 jaapb Exp $ + +GITHUB_PROJECT= resource-pooling +DISTNAME= ${GITHUB_PROJECT}-0.6 +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} + +MAINTAINER= jaapb@kerguelen.org +HOMEPAGE= https://github.com/ocsigen/resource-pooling/ +COMMENT= Library for pooling resources like connections and threads +LICENSE= mit + +USE_LANGUAGES= # none +OCAML_USE_OASIS= yes + +.include "../../devel/ocaml-lwt/buildlink3.mk" +.include "../../devel/ocaml-lwt_log/buildlink3.mk" +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-resource-pooling/PLIST b/devel/ocaml-resource-pooling/PLIST new file mode 100644 index 00000000000..4cb7194f110 --- /dev/null +++ b/devel/ocaml-resource-pooling/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2019/01/29 14:20:26 jaapb Exp $ +${OCAML_SITELIB}/resource-pooling/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/resource-pooling/resource-pooling.a +${OCAML_SITELIB}/resource-pooling/resource-pooling.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/resource-pooling/resource-pooling.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/resource-pooling/resource-pooling.cmxs +${OCAML_SITELIB}/resource-pooling/resource_pool.annot +${OCAML_SITELIB}/resource-pooling/resource_pool.cmi +${OCAML_SITELIB}/resource-pooling/resource_pool.cmt +${OCAML_SITELIB}/resource-pooling/resource_pool.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/resource-pooling/resource_pool.cmx +${OCAML_SITELIB}/resource-pooling/resource_pool.mli +${OCAML_SITELIB}/resource-pooling/server_pool.annot +${OCAML_SITELIB}/resource-pooling/server_pool.cmi +${OCAML_SITELIB}/resource-pooling/server_pool.cmt +${OCAML_SITELIB}/resource-pooling/server_pool.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/resource-pooling/server_pool.cmx +${OCAML_SITELIB}/resource-pooling/server_pool.mli diff --git a/devel/ocaml-resource-pooling/buildlink3.mk b/devel/ocaml-resource-pooling/buildlink3.mk new file mode 100644 index 00000000000..2fbdc2c21b7 --- /dev/null +++ b/devel/ocaml-resource-pooling/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/01/29 14:20:26 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-resource-pooling + +.if !defined(OCAML_RESOURCE_POOLING_BUILDLINK3_MK) +OCAML_RESOURCE_POOLING_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-resource-pooling+= ocaml-resource-pooling>=0.6 +BUILDLINK_PKGSRCDIR.ocaml-resource-pooling?= ../../devel/ocaml-resource-pooling + +.endif # OCAML_RESOURCE_POOLING_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-resource-pooling diff --git a/devel/ocaml-resource-pooling/distinfo b/devel/ocaml-resource-pooling/distinfo new file mode 100644 index 00000000000..ca3fa58a1be --- /dev/null +++ b/devel/ocaml-resource-pooling/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/01/29 14:20:26 jaapb Exp $ + +SHA1 (resource-pooling-0.6.tar.gz) = 3955118519a90634dfb0e467f482c9c44b3874cc +RMD160 (resource-pooling-0.6.tar.gz) = 0d5c347c3d6adb4e0e3e3b59309e08e306170e98 +SHA512 (resource-pooling-0.6.tar.gz) = 2da07942c1adc09f60f493330ea67b6577c8bea13a9a70ac90f0ff29041bc3a88a9ea261e87864c6b1348076ba046b989ce39f59aa6d725395634b326e85e26d +Size (resource-pooling-0.6.tar.gz) = 65912 bytes |