summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/variantslib/variantslib-113.24.00.ebuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/dev-ml/variantslib/variantslib-113.24.00.ebuild b/dev-ml/variantslib/variantslib-113.24.00.ebuild
index 593758c31953..426ad4bff9ed 100644
--- a/dev-ml/variantslib/variantslib-113.24.00.ebuild
+++ b/dev-ml/variantslib/variantslib-113.24.00.ebuild
@@ -17,7 +17,23 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}"
+RDEPEND=""
+DEPEND="${RDEPEND} dev-ml/opam"
-DOCS=( "CHANGES.md" )
+src_configure() {
+ emake setup.exe
+ OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc CHANGES.md
+}