summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-01 22:10:34 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-01 22:10:34 +0000
commitf31eb7f6d3d40cf7cc5850611c65b66c87199f6a (patch)
tree1ed741765bee05f1eba3e7f72bbbe1a182f9a7e2 /dev-ml/camlp5
parentRemove old. (diff)
downloadhistorical-f31eb7f6d3d40cf7cc5850611c65b66c87199f6a.tar.gz
historical-f31eb7f6d3d40cf7cc5850611c65b66c87199f6a.tar.bz2
historical-f31eb7f6d3d40cf7cc5850611c65b66c87199f6a.zip
version bump, switch to strict mode since everything in the tree is now fine with it
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/camlp5')
-rw-r--r--dev-ml/camlp5/ChangeLog8
-rw-r--r--dev-ml/camlp5/Manifest10
-rw-r--r--dev-ml/camlp5/camlp5-6.04.ebuild67
3 files changed, 80 insertions, 5 deletions
diff --git a/dev-ml/camlp5/ChangeLog b/dev-ml/camlp5/ChangeLog
index be534b359a38..f65f77ccae9f 100644
--- a/dev-ml/camlp5/ChangeLog
+++ b/dev-ml/camlp5/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/camlp5
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.66 2012/02/23 20:22:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.67 2012/03/01 22:10:34 aballier Exp $
+
+*camlp5-6.04 (01 Mar 2012)
+
+ 01 Mar 2012; Alexis Ballier <aballier@gentoo.org> +camlp5-6.04.ebuild:
+ version bump, switch to strict mode since everything in the tree is now fine
+ with it
23 Feb 2012; Alexis Ballier <aballier@gentoo.org> -camlp5-5.14.ebuild,
-files/camlp5-5.14-ocaml312.patch:
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
index ea807212162b..b9ead50e322b 100644
--- a/dev-ml/camlp5/Manifest
+++ b/dev-ml/camlp5/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST camlp5-6.02.3.tgz 653958 RMD160 519d8d79c6de63c374ff43f8348b7791de9e9fa5 SHA1 eb0f4f9ade52c2c1e972d61b334bcf01fea76dfc SHA256 329f8e577a6f9ac749a0d6fd22acb8385ae17dda3942ba415e27846304e42bfd
DIST camlp5-6.03.tgz 659839 RMD160 2a2451cf38e2f061d25ee2c8e3eef57ca283a103 SHA1 9166ee6057caabda641be29152f28b1f58a3c830 SHA256 085e3cfaec319855e818f218b1d50ef1c0ca4742a40526f35cbc2b23df7acad5
+DIST camlp5-6.04.tgz 660563 RMD160 c72c0114397b6a38dd3b37cba95e1c7a680c0b78 SHA1 2e39d118a6171aa49b747513fc639b1de7c64c20 SHA256 52a39d931e88c0b2a315cca2daff35fd5cc2c0abd92abf339e9ca7a7fad9fcb2
EBUILD camlp5-6.02.3.ebuild 1656 RMD160 2f0695b1747e013334911f13f67c5b665fa62fea SHA1 dbfabcc53b150414dbdbc15092eb985f539104f6 SHA256 f70497b700a3235b938690693fe076023e84f4cb706388476edcb7e61d12cf7b
EBUILD camlp5-6.03.ebuild 1661 RMD160 01091ffc002df6a8262746de9030277f1f5a0bed SHA1 fc9042f92b93ca204c97b13162c1978419e46339 SHA256 4188cca62541bc809085458f3ead158575058445b4c1065d224d6bb7be5e5648
-MISC ChangeLog 8284 RMD160 c8b97cb3a2f4e0792f00f822cf6b8cfd4e379155 SHA1 eb2ced9d9cb35f85c84bfdae1ec1d9f8b988a25b SHA256 900df94b2e88bd67caae7667a25a9f2fd452189df5b10e4ee58cdeba1b4fb2c6
+EBUILD camlp5-6.04.ebuild 1674 RMD160 d685d762b4d1478b69487d615c50a9f4c3a758d2 SHA1 41e3e620371be12c91ec9b1f9485764f710946b1 SHA256 aa7baf53d43b2fdab0ba4085f157cff2c302a98b23b1fc23119b5c2aed84224a
+MISC ChangeLog 8475 RMD160 f9a69e94f567dfd0cf0681d11280198e5775254c SHA1 255f3b37268a0b6f8c9f7a5c17853a351aa7e7e0 SHA256 d7e32c753a3a736cfd76fcc178a413be6127c141842bdbaf7b0e5677e6b278c7
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk9Gn/YACgkQvFcC4BYPU0o6PACcDqqzpbuL7z11LwE1iPvbrip9
-C/QAnA0FY7wV+VWPG7xkBrUjE6rEKCyd
-=tegL
+iEYEARECAAYFAk9P898ACgkQvFcC4BYPU0okcwCeKdB+4ckXsM1WStgXglXq2h/s
+uZcAoJZ5yjCWt/vE3skWG1vNqHlu77Mz
+=H6IC
-----END PGP SIGNATURE-----
diff --git a/dev-ml/camlp5/camlp5-6.04.ebuild b/dev-ml/camlp5/camlp5-6.04.ebuild
new file mode 100644
index 000000000000..05fb018a5133
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-6.04.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-6.04.ebuild,v 1.1 2012/03/01 22:10:34 aballier Exp $
+
+EAPI="2"
+
+inherit multilib findlib eutils
+
+MY_P=${P%_p*}
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/"
+SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+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 || die "emake failed"
+ if use ocamlopt; then
+ emake opt || die "Compiling native code programs failed"
+ emake 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
+}