diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-20 23:26:34 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-20 23:26:34 +0200 |
commit | 1198068d5fbf0f7a925186e31682b8c543e5c984 (patch) | |
tree | 16aac7ddb41299a45d01439b9dd380da0cc6963b /dev-ml/fpath | |
parent | dev-ml/rresult: initial import (diff) | |
download | gentoo-1198068d5fbf0f7a925186e31682b8c543e5c984.tar.gz gentoo-1198068d5fbf0f7a925186e31682b8c543e5c984.tar.bz2 gentoo-1198068d5fbf0f7a925186e31682b8c543e5c984.zip |
dev-ml/fpath: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/fpath')
-rw-r--r-- | dev-ml/fpath/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/fpath/fpath-0.7.2.ebuild | 36 | ||||
-rw-r--r-- | dev-ml/fpath/metadata.xml | 11 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ml/fpath/Manifest b/dev-ml/fpath/Manifest new file mode 100644 index 000000000000..108d1ca52c22 --- /dev/null +++ b/dev-ml/fpath/Manifest @@ -0,0 +1 @@ +DIST fpath-0.7.2.tbz 24142 SHA256 2ce2ae81a9d945696771c62082e817fbe49ed39499d8ad9a63b8e2bb502b20c3 SHA512 d8ab8d6f183a1742d74a3a3220cc1d62e7df38a6f3ca1c04fad18426a0897152255382305ad14d058b5b85ab55a27536c39a62deffac8d46984a730a2a18405d WHIRLPOOL 14b8ab716e890535345cd42a992ad2c13737ebf07116c5f2a469d642b31473adead47db67696a665f1d7cf984fdb208619743c02e35dc70b3bcb2f2892e89741 diff --git a/dev-ml/fpath/fpath-0.7.2.ebuild b/dev-ml/fpath/fpath-0.7.2.ebuild new file mode 100644 index 000000000000..8696bff4270a --- /dev/null +++ b/dev-ml/fpath/fpath-0.7.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="File system paths for OCaml" +HOMEPAGE="http://erratique.ch/software/fpath https://github.com/dbuenzli/fpath" +SRC_URI="http://erratique.ch/software/fpath/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-lang/ocaml:= + dev-ml/result:= + dev-ml/astring:= +" +DEPEND="${RDEPEND} + dev-ml/topkg + dev-ml/ocamlbuild + dev-ml/findlib +" + +src_compile() { + ocaml pkg/pkg.ml build || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +} diff --git a/dev-ml/fpath/metadata.xml b/dev-ml/fpath/metadata.xml new file mode 100644 index 000000000000..120208f31d2c --- /dev/null +++ b/dev-ml/fpath/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="github">dbuenzli/fpath</remote-id> + </upstream> +</pkgmetadata> |