diff options
-rw-r--r-- | dev-ml/cppo/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/cppo/cppo-1.3.2.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/cppo/Manifest b/dev-ml/cppo/Manifest index 2926ae3d9d08..508c394377d5 100644 --- a/dev-ml/cppo/Manifest +++ b/dev-ml/cppo/Manifest @@ -1 +1,2 @@ DIST cppo-1.3.1.tar.gz 26259 SHA256 2e3e658b0ba24d7217c59e76df3e92d4e03866143da8d206b3267cebccfefc69 SHA512 0e5180ce21bb605733ca4bfd64f1917ccb8772f6d078a23d39710b4dc1c5ede32dcaa3bd30116f17683c4040a7cfc41a4ca541e9c973265ec1dd988e2ec67238 WHIRLPOOL 37cc6699aaabd2642b55e00d3c55bfe442c978eb540889ee396ebecd5e5343e45b7e4322cff65e5add8ea3cf18f379d1d7632389742bac1f30b7cfa67c5af172 +DIST cppo-1.3.2.tar.gz 26332 SHA256 c49e3080b3326466c7ddd97100c63bd568301802b3e48cebea3406e1ca76ebc8 SHA512 8569cc644694cca474b373edf4489f24c688106f922b8c9c97d254a22bc988438a2b9e0a5cab44434f8ee7bc7e5fb5612eff2511bbb560e44945fdf827c2441a WHIRLPOOL e3d4e052873f8847cf56da402d460a28be907d22fdfc7c72bdc3b2ea4373cb1246da3ed1f864d18558727b6f752fd69871c717e17d49b777200e25e64023a115 diff --git a/dev-ml/cppo/cppo-1.3.2.ebuild b/dev-ml/cppo/cppo-1.3.2.ebuild new file mode 100644 index 000000000000..064faf4bf4dc --- /dev/null +++ b/dev-ml/cppo/cppo-1.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit findlib + +DESCRIPTION="An equivalent of the C preprocessor for OCaml programs" +HOMEPAGE="http://mjambon.com/cppo.html" +SRC_URI="https://github.com/mjambon/cppo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0/${PV}" +LICENSE="BSD" +KEYWORDS="~amd64" + +IUSE="examples" + +RDEPEND=">=dev-lang/ocaml-3.12:= + dev-ml/ocamlbuild:=" +DEPEND="${RDEPEND}" + +src_install() { + findlib_src_preinst + mkdir -p "${ED}"/usr/bin + emake PREFIX="${ED}"/usr install + dodoc README.md Changes + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |