summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 19:03:45 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commitfe1e505edfe6674926e7bdf3c36f3732c47c3cc6 (patch)
tree66d440402d73f0319f8af4bb7e70d01ad1aeba7d /dev-ml/sexplib
parentdev-ml/bin-prot: use proper install method (diff)
downloadgentoo-fe1e505edfe6674926e7bdf3c36f3732c47c3cc6.tar.gz
gentoo-fe1e505edfe6674926e7bdf3c36f3732c47c3cc6.tar.bz2
gentoo-fe1e505edfe6674926e7bdf3c36f3732c47c3cc6.zip
dev-ml/sexplib: use proper install method
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
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
+}