version bump
authorAlexis Ballier <aballier@gentoo.org>
Sat, 23 Feb 2008 23:36:55 +0000 (23:36 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 23 Feb 2008 23:36:55 +0000 (23:36 +0000)
Package-Manager: portage-2.1.4.4

dev-ml/camlp5/ChangeLog
dev-ml/camlp5/Manifest
dev-ml/camlp5/camlp5-5.08.ebuild [new file with mode: 0644]

index 98d617f034c0446401c90bf48e8d2eab71dcd5c8..897e0afd4a185d8bcd2470c3416b046146529ac2 100644 (file)
@@ -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@gentoo.org> +camlp5-5.08.ebuild:
+  version bump
 
   18 Jan 2008; Alexis Ballier <aballier@gentoo.org> -camlp5-5.06.ebuild:
   remove old
index 0f4a2629704c2d8ba0fa282118db58102552f650..b6753c98fc05a4a056f3b472d9ac3e898c622f71 100644 (file)
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST camlp5-5.07.tgz 629672 RMD160 6004bdd5bdcd36ba5658ec637d33a12c84e19b64 SHA1 e5a140007f4504b6c1307ac06ab9595c46d9088f SHA256 9476012c98f8086d7ce34be1a98df4198f80ede5f0e0a58f6d3d254e1b85eb92
+DIST camlp5-5.08.tgz 645774 RMD160 6212b56e21f8d9fed8ce17463ca237526430ad5a SHA1 1ceb0a26dfa33de764a6361ed83595d76cfa47c0 SHA256 6c2f4f7a9d28168a6548b396edc2cc8e37c3f33b5db065a71f00013f95ddadcf
 EBUILD camlp5-5.07.ebuild 1579 RMD160 51458eeff599226939bcb6143a6ff080249ec627 SHA1 289d3c2f235eeeaf02b1464e3cd4fee0a70334cd SHA256 167fda21b2a1ac695ed8a4865484ddf99ed6c3c8d46fc189344edca543f007a6
-MISC ChangeLog 2396 RMD160 46eeb545ce8573519341139c10b3b185b746e6a9 SHA1 d90dd84ef8f3916c93623f4d8f0f0a943517825a SHA256 e2ddcab19809f9bb3318934c0166a3b3a61bcd5bb6958b15f05d400f51b7099b
+EBUILD camlp5-5.08.ebuild 1579 RMD160 dfc94823b115670b720d01495495cf605752f644 SHA1 83f85e1425bb2964e5684af60e2d0ed0b1587fcb SHA256 139d98b4d69bf6fc8f08157bea11add4880ee74cbe707471829f67cd1bf2f6a8
+MISC ChangeLog 2513 RMD160 dfc6849483378bfdbc87861f6ba6ea2e629ae34b SHA1 049df0f2aaf0154aeaca4ff60f6206c7cc825f1e SHA256 58086c74e8495ef8a6cee557b7b4867a08282c36eccdd251d9e6ddbf4eee25fb
 MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHwK5DvFcC4BYPU0oRAhdyAJ9csgWeoKt2h3+8eZyH6Ap+z0puNwCfYb2T
+oACpYazqSCn5qradf5iU5z8=
+=5yA4
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/camlp5/camlp5-5.08.ebuild b/dev-ml/camlp5/camlp5-5.08.ebuild
new file mode 100644 (file)
index 0000000..eb67cb6
--- /dev/null
@@ -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.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
+}