diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-07-02 20:57:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-07-02 20:57:27 +0000 |
commit | ce2eb81a3e3885bc04c13b0bf89d5f85ff3912fb (patch) | |
tree | df2f197b861998de43f2fc21d2c3e37e909e17d6 /dev-ml | |
parent | bump to 2.22.3. Fix for fsusage parsing on kernel >= 2.6.25 (diff) | |
download | gentoo-2-ce2eb81a3e3885bc04c13b0bf89d5f85ff3912fb.tar.gz gentoo-2-ce2eb81a3e3885bc04c13b0bf89d5f85ff3912fb.tar.bz2 gentoo-2-ce2eb81a3e3885bc04c13b0bf89d5f85ff3912fb.zip |
version bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/camlp5/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/camlp5/camlp5-5.09.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-ml/camlp5/ChangeLog b/dev-ml/camlp5/ChangeLog index 75930ff70a24..545325156061 100644 --- a/dev-ml/camlp5/ChangeLog +++ b/dev-ml/camlp5/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/camlp5 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.21 2008/04/08 13:20:50 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.22 2008/07/02 20:57:27 aballier Exp $ + +*camlp5-5.09 (02 Jul 2008) + + 02 Jul 2008; Alexis Ballier <aballier@gentoo.org> +camlp5-5.09.ebuild: + version bump 08 Apr 2008; Raúl Porcel <armin76@gentoo.org> camlp5-5.08.ebuild: sparc stable wrt #215736 diff --git a/dev-ml/camlp5/camlp5-5.09.ebuild b/dev-ml/camlp5/camlp5-5.09.ebuild new file mode 100644 index 000000000000..0f4f8a075062 --- /dev/null +++ b/dev-ml/camlp5/camlp5-5.09.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-5.09.ebuild,v 1.1 2008/07/02 20:57:27 aballier Exp $ + +inherit multilib findlib eutils + +EAPI="1" + +DESCRIPTION="A preprocessor-pretty-printer of ocaml" +HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/" +SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc +ocamlopt" + +DEPEND=">=dev-lang/ocaml-3.09" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then + eerror "In order to build ${PN} with native code support from ocaml" + eerror "You first need to have a native code ocaml compiler." + eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." + die "Please install ocaml with ocamlopt useflag" + fi +} + +src_compile() { + ./configure \ + -prefix /usr \ + -bindir /usr/bin \ + -libdir /usr/$(get_libdir)/ocaml \ + -mandir /usr/share/man || die "configure failed" + + emake -j1 || die "emake failed" + if use ocamlopt; then + emake -j1 opt || die "Compiling native code programs failed" + emake -j1 opt.opt || die "Compiling native code programs failed" + fi + +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + # findlib support + insinto "$(ocamlfind printconf destdir)/${PN}" + doins etc/META || die "failed to install META file for findlib support" + + use doc && dohtml -r doc/* + + dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE +} |