Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/camlp5: ChangeLog camlp5-5.08.ebuild
Date: Sat, 23 Feb 2008 23:36:59
Message-Id: E1JT3vM-0002UR-BJ@stork.gentoo.org
aballier    08/02/23 23:36:56

  Modified:             ChangeLog
  Added:                camlp5-5.08.ebuild
  Log:
  version bump
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.16                 dev-ml/camlp5/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog	18 Jan 2008 08:37:45 -0000	1.15
+++ ChangeLog	23 Feb 2008 23:36:55 -0000	1.16
@@ -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.15 2008/01/18 08:37:45 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.16 2008/02/23 23:36:55 aballier Exp $
+
+*camlp5-5.08 (23 Feb 2008)
+
+  23 Feb 2008; Alexis Ballier <aballier@g.o> +camlp5-5.08.ebuild:
+  version bump
 
   18 Jan 2008; Alexis Ballier <aballier@g.o> -camlp5-5.06.ebuild:
   remove old



1.1                  dev-ml/camlp5/camlp5-5.08.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.08.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlp5/camlp5-5.08.ebuild?rev=1.1&content-type=text/plain

Index: camlp5-5.08.ebuild
===================================================================
# 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.08.ebuild,v 1.1 2008/02/23 23:36:55 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
}



-- 
gentoo-commits@l.g.o mailing list