diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:18:47 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:31:41 +0200 |
commit | c18c755bf658f75b196a593f87b72bfc8b5c7b08 (patch) | |
tree | d165a5c485a77467bfb1e6a5cc3e279882db791f /dev-ml/astring | |
parent | dev-ml/ppx_bench: update to opam.eclass (diff) | |
download | gentoo-c18c755bf658f75b196a593f87b72bfc8b5c7b08.tar.gz gentoo-c18c755bf658f75b196a593f87b72bfc8b5c7b08.tar.bz2 gentoo-c18c755bf658f75b196a593f87b72bfc8b5c7b08.zip |
dev-ml/astring: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/astring')
-rw-r--r-- | dev-ml/astring/astring-0.8.3.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/dev-ml/astring/astring-0.8.3.ebuild b/dev-ml/astring/astring-0.8.3.ebuild index b992a79e8353..cd17e8514586 100644 --- a/dev-ml/astring/astring-0.8.3.ebuild +++ b/dev-ml/astring/astring-0.8.3.ebuild @@ -3,6 +3,8 @@ EAPI="5" +inherit opam + DESCRIPTION="Alternative String module for OCaml" HOMEPAGE="http://erratique.ch/software/astring https://github.com/dbuenzli/astring" SRC_URI="http://erratique.ch/software/astring/releases/${P}.tbz" @@ -14,7 +16,6 @@ IUSE="" RDEPEND="dev-lang/ocaml:=[ocamlopt]" DEPEND="${RDEPEND} - dev-ml/opam dev-ml/topkg dev-ml/ocamlbuild dev-ml/findlib" @@ -22,12 +23,3 @@ DEPEND="${RDEPEND} src_compile() { ocaml pkg/pkg.ml build || die } - -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 -} |