diff options
-rw-r--r-- | dev-ml/octavius/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/octavius/octavius-1.1.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ml/octavius/Manifest b/dev-ml/octavius/Manifest index 253e1d98e471..d7c9dfde4a06 100644 --- a/dev-ml/octavius/Manifest +++ b/dev-ml/octavius/Manifest @@ -1 +1,2 @@ DIST octavius-0.2.0.tar.gz 13808 SHA256 a68c959e7f64dffa8e4b5f591aa22acc47b9718532ce16516afdb249fa67d994 SHA512 44ec9ce394ca3faa2c5ff7986ff0ba3c88ea62eb55fadcec4b51e3dea94144bd1c0fd496080d83fbc429a98f699003049325750b1b2f1de6639cbc5ac9ddacaa WHIRLPOOL 11900567706cead315c1a741f836ce325262708b14661cb697af36ce17f7a6ec35655e781bf5ca5ee92ce1862a349d6ab49ad9a44dbcb318d6187d0b7dec5423 +DIST octavius-1.1.0.tar.gz 13767 SHA256 cf8954e0c375a63972348e5758622389fa66bcb3b47acb38b02eb42da65a0723 SHA512 db1f7da7af07d9ff1a4b1c51dbd2861e4dddab13958e7bccdd0c42494fa95f0b4277b222652ef73198f5aeb2ac44de4204459c7d1085810864958da251d5ec09 WHIRLPOOL 8cabdb71982205de2641ee3d5346eeec0eca653eb746ae154469072a497e3bfd6146d8220a775c22030aedb6f5617841601ed52bc715bb81d6ac0320d43bae87 diff --git a/dev-ml/octavius/octavius-1.1.0.ebuild b/dev-ml/octavius/octavius-1.1.0.ebuild new file mode 100644 index 000000000000..f5e88e6df419 --- /dev/null +++ b/dev-ml/octavius/octavius-1.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="ocamldoc comment syntax parser" +HOMEPAGE="https://github.com/ocaml-doc/octavius" +SRC_URI="https://github.com/ocaml-doc/octavius/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-lang/ocaml:=" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/jbuilder + dev-ml/opam + dev-ml/ocamlbuild" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +} |