diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-02-05 19:03:45 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-02-05 21:59:02 +0100 |
commit | fe1e505edfe6674926e7bdf3c36f3732c47c3cc6 (patch) | |
tree | 66d440402d73f0319f8af4bb7e70d01ad1aeba7d /dev-ml/sexplib | |
parent | dev-ml/bin-prot: use proper install method (diff) | |
download | gentoo-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.ebuild | 22 |
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 +} |