dev-ml/fpath: initial import
authorAlexis Ballier <aballier@gentoo.org>
Tue, 20 Jun 2017 21:26:34 +0000 (23:26 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 20 Jun 2017 21:26:34 +0000 (23:26 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-ml/fpath/Manifest [new file with mode: 0644]
dev-ml/fpath/fpath-0.7.2.ebuild [new file with mode: 0644]
dev-ml/fpath/metadata.xml [new file with mode: 0644]

diff --git a/dev-ml/fpath/Manifest b/dev-ml/fpath/Manifest
new file mode 100644 (file)
index 0000000..108d1ca
--- /dev/null
@@ -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 (file)
index 0000000..8696bff
--- /dev/null
@@ -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 (file)
index 0000000..120208f
--- /dev/null
@@ -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>