From e6c2a926f50dcc9eeaf391b80d61c3e97e6036df Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 8 Jan 2017 20:13:36 +0100 Subject: [PATCH] dev-ocaml/pprint: initial import --- .../pprint/pprint-20150316.exheres-0 | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packages/dev-ocaml/pprint/pprint-20150316.exheres-0 diff --git a/packages/dev-ocaml/pprint/pprint-20150316.exheres-0 b/packages/dev-ocaml/pprint/pprint-20150316.exheres-0 new file mode 100644 index 00000000..0272e5ba --- /dev/null +++ b/packages/dev-ocaml/pprint/pprint-20150316.exheres-0 @@ -0,0 +1,34 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="Prettier printing" +HOMEPAGE="http://gallium.inria.fr/~fpottier/pprint/" +DOWNLOADS="http://gallium.inria.fr/~fpottier/pprint/${PNV}.tar.gz" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build: + dev-ocaml/findlib + build+run: + dev-lang/ocaml +" + +BUGS_TO="hasufell@posteo.de" + +WORK=${WORK}/src + +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)"/pprint + default +} +