From 4e93d610709102ad12239fcc47b383bd8825cde0 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 16 Oct 2016 12:08:04 +0200 Subject: [PATCH] dev-ocaml/easy-format: initial import Change-Id: Ic144d746ec5df4c3730f8090fa1fe171a8f0c5a1 Reviewed-on: https://galileo.mailstation.de/gerrit/7420 Reviewed-by: Jenkins Reviewed-by: Julian Ospald --- .../easy-format/easy-format-1.2.0.exheres-0 | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/dev-ocaml/easy-format/easy-format-1.2.0.exheres-0 diff --git a/packages/dev-ocaml/easy-format/easy-format-1.2.0.exheres-0 b/packages/dev-ocaml/easy-format/easy-format-1.2.0.exheres-0 new file mode 100644 index 00000000..432c670c --- /dev/null +++ b/packages/dev-ocaml/easy-format/easy-format-1.2.0.exheres-0 @@ -0,0 +1,33 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user="mjambon" tag="v${PV}" ] + +SUMMARY="Pretty-printing library for OCaml" +HOMEPAGE="http://martin.jambon.free.fr/easy-format.html ${HOMEPAGE}" + +LICENCES="BSD-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build: + dev-ocaml/findlib + build+run: + dev-lang/ocaml +" + +BUGS_TO="hasufell@posteo.de" + +src_prepare() { + edo sed -i \ + -e "s#ocamlfind install#ocamlfind install -destdir \"${IMAGE}$(/usr/$(exhost --target)/bin/ocamlfind printconf destdir)\"#" \ + Makefile +} + +src_install() { + dodir "$(/usr/$(exhost --target)/bin/ocamlfind printconf destdir)"/easy-format + default +} +