summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-23 14:10:46 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-23 14:43:52 +0200
commit53bed53756ddea5d437f0ced63beda5718a97fc1 (patch)
treec6e6894e6149f3f96b2e41d834bb7368b1ee40da /dev-ml
parentdev-ml/async: convert to opam.eclass (diff)
downloadgentoo-53bed53756ddea5d437f0ced63beda5718a97fc1.tar.gz
gentoo-53bed53756ddea5d437f0ced63beda5718a97fc1.tar.bz2
gentoo-53bed53756ddea5d437f0ced63beda5718a97fc1.zip
dev-ml/fpath: convert to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/fpath/fpath-0.7.2.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-ml/fpath/fpath-0.7.2.ebuild b/dev-ml/fpath/fpath-0.7.2.ebuild
index 8696bff4270a..8a7ca78a2291 100644
--- a/dev-ml/fpath/fpath-0.7.2.ebuild
+++ b/dev-ml/fpath/fpath-0.7.2.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
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"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
RDEPEND="
- dev-lang/ocaml:=
dev-ml/result:=
dev-ml/astring:=
"
@@ -26,11 +27,3 @@ DEPEND="${RDEPEND}
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
-}