From ff8e8687259bdc7f00e54161a611b743df277709 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 16 Oct 2016 13:40:54 +0200 Subject: [PATCH] dev-ocaml/zarith: initial import of version 1.4.1 Change-Id: If1e38ba8fc9014ac48982ab1198ea87b0653ef26 Reviewed-on: https://galileo.mailstation.de/gerrit/7419 Reviewed-by: Jenkins Reviewed-by: Julian Ospald --- .../dev-ocaml/zarith/zarith-1.4.1.exheres-0 | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/dev-ocaml/zarith/zarith-1.4.1.exheres-0 diff --git a/packages/dev-ocaml/zarith/zarith-1.4.1.exheres-0 b/packages/dev-ocaml/zarith/zarith-1.4.1.exheres-0 new file mode 100644 index 00000000..2caf9434 --- /dev/null +++ b/packages/dev-ocaml/zarith/zarith-1.4.1.exheres-0 @@ -0,0 +1,32 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="Implements arithmetic and logical operations over arbitrary-precision integers" +HOMEPAGE="https://forge.ocamlcore.org/projects/zarith/" +DOWNLOADS="http://forge.ocamlcore.org/frs/download.php/1574/${PNV}.tgz" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="" + +DEPENDENCIES=" + build: + dev-ocaml/findlib + build+run: + dev-lang/ocaml +" + +BUGS_TO="hasufell@posteo.de" + +src_configure() { + ocaml_dest="$(/usr/$(exhost --target)/bin/ocamlfind printconf destdir)" + + edo ./configure -installdir "${IMAGE%/}/${ocaml_dest}" +} + +src_install() { + dodir "${ocaml_dest}" + OCAMLFIND_LDCONF=ignore emake install +} +