diff options
Diffstat (limited to 'dev-ml/camlp5')
-rw-r--r-- | dev-ml/camlp5/Manifest | 3 | ||||
-rw-r--r-- | dev-ml/camlp5/camlp5-6.12.ebuild | 67 | ||||
-rw-r--r-- | dev-ml/camlp5/camlp5-6.13.ebuild | 67 | ||||
-rw-r--r-- | dev-ml/camlp5/camlp5-6.14.ebuild | 67 | ||||
-rw-r--r-- | dev-ml/camlp5/metadata.xml | 5 |
5 files changed, 209 insertions, 0 deletions
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest new file mode 100644 index 000000000000..c78bd262a928 --- /dev/null +++ b/dev-ml/camlp5/Manifest @@ -0,0 +1,3 @@ +DIST camlp5-6.12.tgz 716173 SHA256 b716c8b248289205bc76823000bc0b0988517cfcfd9c2eb1a3c43cc2cd7d5c02 SHA512 33cf0738b0f8f1daad0f40158654c32a7a4b1559671c6f95193a9c71bb0fdb7f8328a3d012c5fdba83fe940882588a6e12c242a7585dd193974d4f7dedbdbc12 WHIRLPOOL 76d1d2c3eaf8781e594a66e50b2b2d2858a11310b7f8ed5f43cfef2d6598acb0ae573a4ab16154d8aee1d51043cc0e7a24fd9c0fb2d92651000a5100d0a9a50b +DIST camlp5-6.13.tgz 719912 SHA256 d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9 SHA512 184280c0de77c72125c82b4ad93cba0af713374838248a3f0250b775a75f1a0a34d3c48a037fb91601d70a637cdf6b005222f866a700bb024c4a0caa8dbc41b7 WHIRLPOOL feef006286a0011157dc5076fb7397a2de651e831ed26a90ed80f1bc3b36f8eb35d2c7fd3eff4a37501a729314e921b7c7aaa7715df8bfba5408976ff28bd127 +DIST camlp5-6.14.tgz 748674 SHA256 09f9ed12893d2ec39c88106af2306865c966096bedce0250f2fe52b67d2480e2 SHA512 7dd57b8725953099726fc2e5f6dda01ed74485a4bbf41cb30ccd2163ee38bc6dff36fd83069c58d7990522527d266c9e180a8e333b36a42bc216315dc88a25e9 WHIRLPOOL 305bb842e449775352cbbf3c89a301a188419c10462f0959b00e181596218b5251dac50856f152ad471fd680e557e6595978c395e9c2864c38ddacd7287c4e3b diff --git a/dev-ml/camlp5/camlp5-6.12.ebuild b/dev-ml/camlp5/camlp5-6.12.ebuild new file mode 100644 index 000000000000..30e029a6d4e9 --- /dev/null +++ b/dev-ml/camlp5/camlp5-6.12.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib findlib eutils + +MY_P=${P%_p*} +DESCRIPTION="A preprocessor-pretty-printer of ocaml" +HOMEPAGE="http://camlp5.gforge.inria.fr/" +SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="doc +ocamlopt" + +DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]" +RDEPEND="${DEPEND}" + +PATCHLEVEL=${PV#*_p} +PATCHLIST="" + +if [ "${PATCHLEVEL}" != "${PV}" ] ; then + for (( i=1; i<=PATCHLEVEL; i++ )) ; do + SRC_URI="${SRC_URI} + http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch" + PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch" + done +fi + +S=${WORKDIR}/${MY_P} + +src_prepare() { + for i in ${PATCHLIST} ; do + epatch "${DISTDIR}/${i}" + done +} + +src_configure() { + ./configure \ + --strict \ + -prefix /usr \ + -bindir /usr/bin \ + -libdir /usr/$(get_libdir)/ocaml \ + -mandir /usr/share/man || die "configure failed" +} + +src_compile(){ + emake out + if use ocamlopt; then + emake opt + emake opt.opt + fi +} + +src_install() { + emake DESTDIR="${D}" install + # findlib support + insinto "$(ocamlfind printconf destdir)/${PN}" + doins etc/META + + use doc && dohtml -r doc/* + + dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE +} diff --git a/dev-ml/camlp5/camlp5-6.13.ebuild b/dev-ml/camlp5/camlp5-6.13.ebuild new file mode 100644 index 000000000000..4fcf3b9f748d --- /dev/null +++ b/dev-ml/camlp5/camlp5-6.13.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib findlib eutils + +MY_P=${P%_p*} +DESCRIPTION="A preprocessor-pretty-printer of ocaml" +HOMEPAGE="http://camlp5.gforge.inria.fr/" +SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="doc +ocamlopt" + +DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]" +RDEPEND="${DEPEND}" + +PATCHLEVEL=${PV#*_p} +PATCHLIST="" + +if [ "${PATCHLEVEL}" != "${PV}" ] ; then + for (( i=1; i<=PATCHLEVEL; i++ )) ; do + SRC_URI="${SRC_URI} + http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch" + PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch" + done +fi + +S=${WORKDIR}/${MY_P} + +src_prepare() { + for i in ${PATCHLIST} ; do + epatch "${DISTDIR}/${i}" + done +} + +src_configure() { + ./configure \ + --strict \ + -prefix /usr \ + -bindir /usr/bin \ + -libdir /usr/$(get_libdir)/ocaml \ + -mandir /usr/share/man || die "configure failed" +} + +src_compile(){ + emake out + if use ocamlopt; then + emake opt + emake opt.opt + fi +} + +src_install() { + emake DESTDIR="${D}" install + # findlib support + insinto "$(ocamlfind printconf destdir)/${PN}" + doins etc/META + + use doc && dohtml -r doc/* + + dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE +} diff --git a/dev-ml/camlp5/camlp5-6.14.ebuild b/dev-ml/camlp5/camlp5-6.14.ebuild new file mode 100644 index 000000000000..4fcf3b9f748d --- /dev/null +++ b/dev-ml/camlp5/camlp5-6.14.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib findlib eutils + +MY_P=${P%_p*} +DESCRIPTION="A preprocessor-pretty-printer of ocaml" +HOMEPAGE="http://camlp5.gforge.inria.fr/" +SRC_URI="http://camlp5.gforge.inria.fr/distrib/src/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="doc +ocamlopt" + +DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]" +RDEPEND="${DEPEND}" + +PATCHLEVEL=${PV#*_p} +PATCHLIST="" + +if [ "${PATCHLEVEL}" != "${PV}" ] ; then + for (( i=1; i<=PATCHLEVEL; i++ )) ; do + SRC_URI="${SRC_URI} + http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch" + PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch" + done +fi + +S=${WORKDIR}/${MY_P} + +src_prepare() { + for i in ${PATCHLIST} ; do + epatch "${DISTDIR}/${i}" + done +} + +src_configure() { + ./configure \ + --strict \ + -prefix /usr \ + -bindir /usr/bin \ + -libdir /usr/$(get_libdir)/ocaml \ + -mandir /usr/share/man || die "configure failed" +} + +src_compile(){ + emake out + if use ocamlopt; then + emake opt + emake opt.opt + fi +} + +src_install() { + emake DESTDIR="${D}" install + # findlib support + insinto "$(ocamlfind printconf destdir)/${PN}" + doins etc/META + + use doc && dohtml -r doc/* + + dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE +} diff --git a/dev-ml/camlp5/metadata.xml b/dev-ml/camlp5/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/camlp5/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> |