summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-08-30 12:41:22 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-08-30 12:41:22 +0000
commit05bcb4f78b0741dcb2ac219c5afb65b990097127 (patch)
tree19f2f587620584aa8ab4dd93d5182a7a68a0c3a3 /dev-ml/camlp5
parentRemoving liquidx from metadata due to his retirement (see #171155 for referen... (diff)
downloadhistorical-05bcb4f78b0741dcb2ac219c5afb65b990097127.tar.gz
historical-05bcb4f78b0741dcb2ac219c5afb65b990097127.tar.bz2
historical-05bcb4f78b0741dcb2ac219c5afb65b990097127.zip
Initial import, old school camlp4 released as a standalone version called camlp5 as it has been removed in ocaml 3.10
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'dev-ml/camlp5')
-rw-r--r--dev-ml/camlp5/ChangeLog11
-rw-r--r--dev-ml/camlp5/Manifest30
-rw-r--r--dev-ml/camlp5/camlp5-4.07.ebuild40
-rw-r--r--dev-ml/camlp5/files/digest-camlp5-4.073
-rw-r--r--dev-ml/camlp5/files/install_destdir.dpatch28
-rw-r--r--dev-ml/camlp5/metadata.xml5
6 files changed, 117 insertions, 0 deletions
diff --git a/dev-ml/camlp5/ChangeLog b/dev-ml/camlp5/ChangeLog
new file mode 100644
index 000000000000..3ecb58c928d6
--- /dev/null
+++ b/dev-ml/camlp5/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/camlp5
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/ChangeLog,v 1.1 2007/08/30 12:41:22 aballier Exp $
+
+*camlp5-4.07 (30 Aug 2007)
+
+ 30 Aug 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/install_destdir.dpatch, +metadata.xml, +camlp5-4.07.ebuild:
+ Initial import, old school camlp4 released as a standalone version called
+ camlp5 as it has been removed in ocaml 3.10
+
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
new file mode 100644
index 000000000000..7d449616a065
--- /dev/null
+++ b/dev-ml/camlp5/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX install_destdir.dpatch 910 RMD160 f2d028bf5bf4b1b249b7a66af809bbb0925de976 SHA1 5e9e5680c89e482039152a4d805eb240b7b8be61 SHA256 efcd69c33c1a66ffbd9a4ebc97991048267faa641db3f5bbc3f809effe403132
+MD5 a42ca1afad5b4baca37215dfeb54291b files/install_destdir.dpatch 910
+RMD160 f2d028bf5bf4b1b249b7a66af809bbb0925de976 files/install_destdir.dpatch 910
+SHA256 efcd69c33c1a66ffbd9a4ebc97991048267faa641db3f5bbc3f809effe403132 files/install_destdir.dpatch 910
+DIST camlp5-4.07.tgz 533170 RMD160 34ef259218765cc766f28caa2f4a34322e4d1e4c SHA1 43699861b7866a16b1760adcbcde801cf821baea SHA256 72febc7ab322745a335102ca8db85f9df0e4684fc73abd55adbd399c630d7b97
+EBUILD camlp5-4.07.ebuild 931 RMD160 239cada87c94efa53036b6b796708c1e5f3b4ac7 SHA1 7197f20c727fce175f1d222f0bb186cf634dd588 SHA256 47b5ee8e5e93f197e2db518592f78b73006dc842c9f1a1d0c57e74ce7a68fb5d
+MD5 29517edc85670c1ee672c402973f1db1 camlp5-4.07.ebuild 931
+RMD160 239cada87c94efa53036b6b796708c1e5f3b4ac7 camlp5-4.07.ebuild 931
+SHA256 47b5ee8e5e93f197e2db518592f78b73006dc842c9f1a1d0c57e74ce7a68fb5d camlp5-4.07.ebuild 931
+MISC ChangeLog 473 RMD160 6e482cdb093db7377385ed09a11d251a81d9b813 SHA1 0b3bf757291791b4e5b15fd60b16f3a1890fc4ad SHA256 aa969a7c7b3e18129bf8af418a0134597c9931ff1b2afd90391a6b264a3812e8
+MD5 3b27cf57d85d6fcdb00bd155cb5369e8 ChangeLog 473
+RMD160 6e482cdb093db7377385ed09a11d251a81d9b813 ChangeLog 473
+SHA256 aa969a7c7b3e18129bf8af418a0134597c9931ff1b2afd90391a6b264a3812e8 ChangeLog 473
+MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
+MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
+RMD160 dfaa057e679b01302a807c75a32a910098b26809 metadata.xml 155
+SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 metadata.xml 155
+MD5 8f2b7162173a4c610f95b01684976cc4 files/digest-camlp5-4.07 226
+RMD160 101e730c4f26c8202e2b6b41ec4beaaa9d0485d5 files/digest-camlp5-4.07 226
+SHA256 817122de58b8a3409eea4c562c47c2dd5e0f5200444ea6a1337d668902b95a7b files/digest-camlp5-4.07 226
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.6 (GNU/Linux)
+
+iD8DBQFG1rr6vFcC4BYPU0oRAhvtAJ9kA/gRUNKrg3eN00c3tDg15h6VsgCgldBL
+tADxrT/x+C7ukfU12zxa6YI=
+=I0Wq
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/camlp5/camlp5-4.07.ebuild b/dev-ml/camlp5/camlp5-4.07.ebuild
new file mode 100644
index 000000000000..0f29d582d267
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-4.07.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-4.07.ebuild,v 1.1 2007/08/30 12:41:22 aballier Exp $
+
+inherit multilib eutils
+
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/"
+SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.10.0"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/install_destdir.dpatch"
+}
+
+
+src_compile() {
+ ./configure \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+
+ emake -j1 world.opt || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc CHANGES DEVEL ICHANGES README UPGRADING
+}
diff --git a/dev-ml/camlp5/files/digest-camlp5-4.07 b/dev-ml/camlp5/files/digest-camlp5-4.07
new file mode 100644
index 000000000000..d73e142fb282
--- /dev/null
+++ b/dev-ml/camlp5/files/digest-camlp5-4.07
@@ -0,0 +1,3 @@
+MD5 faf0900363af23b922ed605f8443e8b6 camlp5-4.07.tgz 533170
+RMD160 34ef259218765cc766f28caa2f4a34322e4d1e4c camlp5-4.07.tgz 533170
+SHA256 72febc7ab322745a335102ca8db85f9df0e4684fc73abd55adbd399c630d7b97 camlp5-4.07.tgz 533170
diff --git a/dev-ml/camlp5/files/install_destdir.dpatch b/dev-ml/camlp5/files/install_destdir.dpatch
new file mode 100644
index 000000000000..b6602346daa1
--- /dev/null
+++ b/dev-ml/camlp5/files/install_destdir.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## install_destdir.dpatch by Stefano Zacchiroli <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile 2007-07-11 09:46:18.000000000 +0000
++++ trunk/Makefile 2007-07-16 16:25:00.000000000 +0000
+@@ -40,10 +40,13 @@
+ for i in $(DIRS) compile; do (cd $$i; $(MAKE) depend); done
+
+ install:
+- @test ! -d "$(LIBDIR)/$(NAME)/Camlp4Parsers" || \
+- (/bin/rm -rf "$(LIBDIR)/omain"; \
+- mv "$(LIBDIR)/$(NAME)" "$(LIBDIR)/o$(NAME)")
+- for i in $(DIRS) compile; do (cd $$i; $(MAKE) install); done
++ for i in $(DIRS) compile; do (cd $$i; \
++ $(MAKE) install \
++ OLIBDIR=$(DESTDIR)$(OLIBDIR) \
++ BINDIR=$(DESTDIR)$(BINDIR) \
++ LIBDIR=$(DESTDIR)$(LIBDIR) \
++ MANDIR=$(DESTDIR)$(MANDIR) \
++ ); done
+
+ uninstall:
+ rm -rf "$(LIBDIR)/$(NAME)"
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>