summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2015-04-04 10:57:56 +0000
committerMark Wright <gienah@gentoo.org>2015-04-04 10:57:56 +0000
commit08edd50e51772c547e408f4e883aa9d56224def9 (patch)
tree4ec7a7211e7bddfac8cf76ef2649695c0ffa736e /dev-haskell/clock
parentBump conduit-extra to 1.1.7.1-r1 (diff)
downloadgentoo-2-08edd50e51772c547e408f4e883aa9d56224def9.tar.gz
gentoo-2-08edd50e51772c547e408f4e883aa9d56224def9.tar.bz2
gentoo-2-08edd50e51772c547e408f4e883aa9d56224def9.zip
Add clock
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/clock')
-rw-r--r--dev-haskell/clock/ChangeLog9
-rw-r--r--dev-haskell/clock/clock-0.4.1.3.ebuild30
-rw-r--r--dev-haskell/clock/metadata.xml31
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-haskell/clock/ChangeLog b/dev-haskell/clock/ChangeLog
new file mode 100644
index 000000000000..332a3f96371a
--- /dev/null
+++ b/dev-haskell/clock/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-haskell/clock
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/clock/ChangeLog,v 1.1 2015/04/04 10:57:56 gienah Exp $
+
+*clock-0.4.1.3 (04 Apr 2015)
+
+ 04 Apr 2015; Mark Wright <gienah@gentoo.org> +clock-0.4.1.3.ebuild,
+ +metadata.xml:
+ Add clock
diff --git a/dev-haskell/clock/clock-0.4.1.3.ebuild b/dev-haskell/clock/clock-0.4.1.3.ebuild
new file mode 100644
index 000000000000..2b07c4fa7650
--- /dev/null
+++ b/dev-haskell/clock/clock-0.4.1.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/clock/clock-0.4.1.3.ebuild,v 1.1 2015/04/04 10:57:56 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="High-resolution clock functions: monotonic, realtime, cputime"
+HOMEPAGE="http://corsis.github.com/clock/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="llvm"
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag llvm llvm)
+}
diff --git a/dev-haskell/clock/metadata.xml b/dev-haskell/clock/metadata.xml
new file mode 100644
index 000000000000..de9386a89aed
--- /dev/null
+++ b/dev-haskell/clock/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ A package for convenient access to high-resolution
+ clock and timer functions of different operating
+ systems.
+
+ It is planned to consist of two layers. The lower
+ layer will provide direct access to OS-specific
+ clock and timer functions like clock_gettime of
+ Posix or GetTickCount of Windows and its upper
+ layer shall then provide a common API for all
+ supported systems. Currently only the lower level
+ is being developed.
+
+
+ POSIX reference: IEEE Std 1003.1-2008
+ &lt;http://www.opengroup.org/onlinepubs/9699919799/&gt;,
+ &lt;http://www.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html#&gt;
+
+ WINDOWS reference: ...
+
+ For more information, see:
+ &lt;http://corsis.sourceforge.net/index.php/Haskell/Clock&gt;
+ </longdescription>
+ <use>
+ <flag name="llvm">Compile via LLVM.</flag>
+ </use>
+</pkgmetadata>