summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/sexplib')
-rw-r--r--dev-ml/sexplib/sexplib-113.24.00.ebuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/dev-ml/sexplib/sexplib-113.24.00.ebuild b/dev-ml/sexplib/sexplib-113.24.00.ebuild
index ce46cabdaeac..6b1718d23502 100644
--- a/dev-ml/sexplib/sexplib-113.24.00.ebuild
+++ b/dev-ml/sexplib/sexplib-113.24.00.ebuild
@@ -15,10 +15,26 @@ SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=dev-ml/type-conv-113.00.00:="
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND} dev-ml/opam"
-DOCS=( "README.md" "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 README.md
+}