dev-ml/sexplib: use proper install method

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2016-02-05 19:03:45 +01:00
parent 295475730c
commit fe1e505edf

View File

@@ -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
}