summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-03 05:31:56 +0000
committerpho <pho@pkgsrc.org>2020-01-03 05:31:56 +0000
commit61fab7a36f4712cd10b9eab5e037ff225afecb17 (patch)
treecd8ab1dd246f36929b9ee54dfeed26ed34393975 /time
parentb3b762d1d04e53f33bdb02cb2e11d3a4142fe3a8 (diff)
downloadpkgsrc-61fab7a36f4712cd10b9eab5e037ff225afecb17.tar.gz
Import clock-0.8
A package for convenient access to high-resolution clock and timer functions of different operating systems via a unified API.
Diffstat (limited to 'time')
-rw-r--r--time/hs-clock/DESCR2
-rw-r--r--time/hs-clock/Makefile11
-rw-r--r--time/hs-clock/buildlink3.mk13
-rw-r--r--time/hs-clock/distinfo6
4 files changed, 32 insertions, 0 deletions
diff --git a/time/hs-clock/DESCR b/time/hs-clock/DESCR
new file mode 100644
index 00000000000..07e196ebd10
--- /dev/null
+++ b/time/hs-clock/DESCR
@@ -0,0 +1,2 @@
+A package for convenient access to high-resolution clock and timer
+functions of different operating systems via a unified API.
diff --git a/time/hs-clock/Makefile b/time/hs-clock/Makefile
new file mode 100644
index 00000000000..7b3cc8a27fd
--- /dev/null
+++ b/time/hs-clock/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2020/01/03 05:31:56 pho Exp $
+
+DISTNAME= clock-0.8
+CATEGORIES= time
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= High-resolution clock functions: monotonic, realtime, cputime
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/hs-clock/buildlink3.mk b/time/hs-clock/buildlink3.mk
new file mode 100644
index 00000000000..e7445402b49
--- /dev/null
+++ b/time/hs-clock/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 05:31:56 pho Exp $
+
+BUILDLINK_TREE+= hs-clock
+
+.if !defined(HS_CLOCK_BUILDLINK3_MK)
+HS_CLOCK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-clock+= hs-clock>=0.8
+BUILDLINK_ABI_DEPENDS.hs-clock+= hs-clock>=0.8
+BUILDLINK_PKGSRCDIR.hs-clock?= ../../time/hs-clock
+.endif # HS_CLOCK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-clock
diff --git a/time/hs-clock/distinfo b/time/hs-clock/distinfo
new file mode 100644
index 00000000000..4564a741be4
--- /dev/null
+++ b/time/hs-clock/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/03 05:31:56 pho Exp $
+
+SHA1 (clock-0.8.tar.gz) = 3422e457dcfb01026ba96e4b982021c231800c3f
+RMD160 (clock-0.8.tar.gz) = 91547340e4f5a65f458d0fd176757094f6afbc26
+SHA512 (clock-0.8.tar.gz) = c966811e3df10d299a8c5a56f0d9ffeaea1e819516d3efb1f2454254bd828e891e579894ca4783f3249e35793b1721a4a4fae867c8e2e4d2d6519ee9abd752b9
+Size (clock-0.8.tar.gz) = 7916 bytes