summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-02 12:11:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:39 +0200
commit5648799a5d175d09dfbeb50e07ecbe9bf1e460dd (patch)
treeeffd09a0aec1d4b2b18e29101a5da4d275b38ca7 /dev-ml/xmlm
parentdev-ml/yojson: Remove old (diff)
downloadgentoo-5648799a5d175d09dfbeb50e07ecbe9bf1e460dd.tar.gz
gentoo-5648799a5d175d09dfbeb50e07ecbe9bf1e460dd.tar.bz2
gentoo-5648799a5d175d09dfbeb50e07ecbe9bf1e460dd.zip
dev-ml/xmlm: update to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/xmlm')
-rw-r--r--dev-ml/xmlm/xmlm-1.3.0.ebuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-ml/xmlm/xmlm-1.3.0.ebuild b/dev-ml/xmlm/xmlm-1.3.0.ebuild
index b77154a1eeec..f01035cc90c4 100644
--- a/dev-ml/xmlm/xmlm-1.3.0.ebuild
+++ b/dev-ml/xmlm/xmlm-1.3.0.ebuild
@@ -3,6 +3,8 @@
EAPI=5
+inherit opam
+
DESCRIPTION="Ocaml XML manipulation module"
HOMEPAGE="http://erratique.ch/software/xmlm https://github.com/dbuenzli/xmlm"
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
@@ -12,10 +14,9 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
-RDEPEND=">=dev-lang/ocaml-3.12:="
+RDEPEND=""
DEPEND="${RDEPEND}
dev-ml/findlib
- dev-ml/opam
>=dev-ml/topkg-0.9
"
@@ -28,12 +29,3 @@ src_compile() {
src_test() {
ocaml pkg/pkg.ml test || die
}
-
-src_install() {
- opam-installer \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- || die
- dodoc CHANGES.md README.md
-}