summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:27:38 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:46 +0200
commit8b82232d4e69967edafc477631a99abc33cb345b (patch)
tree4bcc75fbd36cb4646bd88a5a52e5602550c72e6b /dev-ml/ocaml-base64
parentdev-ml/ocaml-base64: Remove old (diff)
downloadgentoo-8b82232d4e69967edafc477631a99abc33cb345b.tar.gz
gentoo-8b82232d4e69967edafc477631a99abc33cb345b.tar.bz2
gentoo-8b82232d4e69967edafc477631a99abc33cb345b.zip
dev-ml/ocaml-base64: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ocaml-base64')
-rw-r--r--dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild b/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
index 722eba386ee9..35d4f2abf2bf 100644
--- a/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
+++ b/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit findlib
+inherit findlib opam
DESCRIPTION="Library for radix-64 representation (de)coding"
HOMEPAGE="https://github.com/mirage/ocaml-base64"
@@ -14,17 +14,12 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
-RDEPEND=">=dev-lang/ocaml-4.02:="
+RDEPEND=""
DEPEND="${RDEPEND}
dev-ml/jbuilder
- dev-ml/opam
test? ( dev-ml/rresult dev-ml/bos dev-ml/alcotest )
"
src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- base64.install || die
+ opam_src_install base64
}