summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 17:57:03 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commit312a82fc460ae0036ee8924722da67433e0a9634 (patch)
tree8f73998b262447889997dbe9581e99600d1b6033 /dev-ml/ppx_bin_prot
parentdev-ml/typerep: Fix install method and license (diff)
downloadgentoo-312a82fc460ae0036ee8924722da67433e0a9634.tar.gz
gentoo-312a82fc460ae0036ee8924722da67433e0a9634.tar.bz2
gentoo-312a82fc460ae0036ee8924722da67433e0a9634.zip
dev-ml/ppx_bin_prot: Use proper install method
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_bin_prot')
-rw-r--r--dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild19
1 files changed, 18 insertions, 1 deletions
diff --git a/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild b/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild
index b807702aa32..50cf6692c41 100644
--- a/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild
+++ b/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild
@@ -23,7 +23,24 @@ DEPEND="dev-ml/ppx_tools:=
"
RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam"
S="${WORKDIR}/${MY_P}"
-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
+}