summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 19:06:00 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commit1df4d9f70230c09b48bd3a5a23a7d712624c1974 (patch)
tree3ff13d35430454f2b2ebce4eb993bb146e98576d /dev-ml/variantslib
parentdev-ml/fieldslib: use proper install method (diff)
downloadgentoo-1df4d9f70230c09b48bd3a5a23a7d712624c1974.tar.gz
gentoo-1df4d9f70230c09b48bd3a5a23a7d712624c1974.tar.bz2
gentoo-1df4d9f70230c09b48bd3a5a23a7d712624c1974.zip
dev-ml/variantslib: use proper install method
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/variantslib')
-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
+}