diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-01-30 17:26:15 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-01-30 17:30:40 +0100 |
commit | 61a1c0393ae1ac0e9716c7852c6f03bcdc30d33f (patch) | |
tree | 0844dfd940c5928483214728790ce8036c7b328f /dev-ml/eliom | |
parent | dev-ml/reactiveData: bump to 0.2 and update homepage / src_uri (diff) | |
download | gentoo-61a1c0393ae1ac0e9716c7852c6f03bcdc30d33f.tar.gz gentoo-61a1c0393ae1ac0e9716c7852c6f03bcdc30d33f.tar.bz2 gentoo-61a1c0393ae1ac0e9716c7852c6f03bcdc30d33f.zip |
dev-ml/eliom: bump to 5.0.0
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/eliom')
-rw-r--r-- | dev-ml/eliom/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/eliom/eliom-5.0.0.ebuild | 57 | ||||
-rw-r--r-- | dev-ml/eliom/metadata.xml | 3 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest index 5909867baa19..d175232084b6 100644 --- a/dev-ml/eliom/Manifest +++ b/dev-ml/eliom/Manifest @@ -1 +1,2 @@ DIST eliom-4.2.tar.gz 699337 SHA256 30d180b72d21177d09b311785e08e54cc221b148d969f17334f8be6eecfb783d SHA512 c7c75dc00defe0c269aba4e4fbdc00a824b781b124e3f51747e29533c4aeedaecb68c7ebcb38b4cc9a51c3796abdfa680ba0702a83415911406b25cd07ad66c7 WHIRLPOOL 2a36deeb10cbf3b29c76b33185de1c848615293830f7a3701c2d87025be0ed575cdadf238c696ad4716e50f2b0258febef7b7039a1980aafeaf6e1c483ec46ca +DIST eliom-5.0.0.tar.gz 728278 SHA256 6726500f9a54478def95875d04098dc8dc829d4a10e06896ff4f037bb1c03cbd SHA512 1c5297e376c3a46935de369b418638a772304246b73756f8bc052301b48d62a37af527274bf1a05064f33b60ff9dcde057a0030f083136fa4e1c0cfa07f01887 WHIRLPOOL ca1186787a8f938cf029f9a5c9904ed0324a3d24d2f0d0834dd1e2b2f995de6d57d1040b4d128de8233255ca385478f0ba3bf597c2f0315ab2f1894118755dca diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild b/dev-ml/eliom/eliom-5.0.0.ebuild new file mode 100644 index 000000000000..bd99b3e49612 --- /dev/null +++ b/dev-ml/eliom/eliom-5.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib findlib + +DESCRIPTION="A web framework to program client/server applications" +HOMEPAGE="http://ocsigen.org/eliom/" +SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="doc +ocamlopt ppx" + +RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?] + >=dev-ml/js_of_ocaml-2.5-r1:= + >=www-servers/ocsigenserver-2.5:= + >=dev-ml/tyxml-3.6:= + >=dev-ml/deriving-0.6:= + >=dev-ml/reactiveData-0.2:= + dev-ml/ocaml-ipaddr:= + dev-ml/react:= + dev-ml/ocaml-ssl:= + >=dev-ml/lwt-2.5.0:= + dev-ml/calendar:= + ppx? ( dev-ml/ppx_tools:= )" +DEPEND="${RDEPEND} + dev-ml/opam" + +src_compile() { + if use ocamlopt ; then + emake PPX=$(usex ppx true false) all + else + emake PPX=$(usex ppx true false) byte + fi + use doc && emake doc + emake man +} + +src_install() { + opam-installer \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + || die + dodoc CHANGES README.md + if use doc ; then + docinto client/html + dodoc -r _build/src/lib/client/api.docdir/* + docinto server/html + dodoc -r _build/src/lib/server/api.docdir/* + fi +} diff --git a/dev-ml/eliom/metadata.xml b/dev-ml/eliom/metadata.xml index d6e39884df8a..7d63e482b2ed 100644 --- a/dev-ml/eliom/metadata.xml +++ b/dev-ml/eliom/metadata.xml @@ -8,4 +8,7 @@ <upstream> <remote-id type="github">ocsigen/eliom</remote-id> </upstream> + <use> + <flag name="ppx">Enable PPX syntax extension support.</flag> + </use> </pkgmetadata> |