diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 12:53:58 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 14:24:41 +0200 |
commit | 28de6e17b0c229311142956a8edcdbe416b10d02 (patch) | |
tree | e23f6bc0c68152610a6d3437967540857d000cec /dev-ml/ocaml-migrate-parsetree | |
parent | dev-ros/actionlib: Bump to 1.11.9 (diff) | |
download | gentoo-28de6e17b0c229311142956a8edcdbe416b10d02.tar.gz gentoo-28de6e17b0c229311142956a8edcdbe416b10d02.tar.bz2 gentoo-28de6e17b0c229311142956a8edcdbe416b10d02.zip |
dev-ml/ocaml-migrate-parsetree: Initial import. Ebuild by me.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/ocaml-migrate-parsetree')
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-0.7.ebuild | 33 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest new file mode 100644 index 000000000000..48b0e205254f --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/Manifest @@ -0,0 +1 @@ +DIST ocaml-migrate-parsetree-0.7.tar.gz 168579 SHA256 a9048e1a9c004ec9b307452fff25e8f31853942e42d054bd052739eb838026a2 SHA512 d43a80823496670877a01a0d3b9edc0960e80e84562470723b7188922c880262268f518e8fa3dbbcccc0176fba84cc8c1a18baac8ececb13303ed402cf0bff9f WHIRLPOOL 788fc318bcc972a1b62b951ab1e4a2315e3c4922b07c74cb910716f1e41bb61babe0acf86a0fbd15d8e05a2ff7da05a683b8005119f4a65d284ea0a453098e0e diff --git a/dev-ml/ocaml-migrate-parsetree/metadata.xml b/dev-ml/ocaml-migrate-parsetree/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-0.7.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-0.7.ebuild new file mode 100644 index 000000000000..05f39825c1e1 --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-0.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="Convert OCaml parsetrees between different major versions" +HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree" +SRC_URI="https://github.com/let-def/ocaml-migrate-parsetree/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/result:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/jbuilder + dev-ml/opam" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} |