summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-08-31 07:23:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-08-31 07:23:45 +0000
commit03037ebea6a4ea6296ed86bf4fc3347cf23bcce2 (patch)
treea9609c9dd45eb01d2fc09d91bf0b55c9085d9fce /dev-ml
parentversion bump: hybrid auth support disabled in the ebuild for now, until legal... (diff)
downloadhistorical-03037ebea6a4ea6296ed86bf4fc3347cf23bcce2.tar.gz
historical-03037ebea6a4ea6296ed86bf4fc3347cf23bcce2.tar.bz2
historical-03037ebea6a4ea6296ed86bf4fc3347cf23bcce2.zip
Initial import, thanks to Pierre Clairambault for the ebuild
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-sqlite3/ChangeLog11
-rw-r--r--dev-ml/ocaml-sqlite3/Manifest30
-rw-r--r--dev-ml/ocaml-sqlite3/files/digest-ocaml-sqlite3-0.22.03
-rw-r--r--dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch13
-rw-r--r--dev-ml/ocaml-sqlite3/metadata.xml5
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-0.22.0.ebuild43
6 files changed, 105 insertions, 0 deletions
diff --git a/dev-ml/ocaml-sqlite3/ChangeLog b/dev-ml/ocaml-sqlite3/ChangeLog
new file mode 100644
index 000000000000..7b074fa13819
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/ocaml-sqlite3
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.1 2007/08/31 07:23:45 aballier Exp $
+
+*ocaml-sqlite3-0.22.0 (31 Aug 2007)
+
+ 31 Aug 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/ocaml-sqlite3-0.22.0-destdir.patch, +metadata.xml,
+ +ocaml-sqlite3-0.22.0.ebuild:
+ Initial import, thanks to Pierre Clairambault for the ebuild
+
diff --git a/dev-ml/ocaml-sqlite3/Manifest b/dev-ml/ocaml-sqlite3/Manifest
new file mode 100644
index 000000000000..7bcb59e2502b
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ocaml-sqlite3-0.22.0-destdir.patch 581 RMD160 06d5d7bbb8fad3e77145a4857540fe244ff115a0 SHA1 63ee23fffe40aa8ffe5dcf7a7e6f9a00f83e4e0d SHA256 868795cc01eb64a135637900ed0edd965b3528b95660f0005f475f27d19da580
+MD5 1ba4c863437a6d0c341abfb62f453d42 files/ocaml-sqlite3-0.22.0-destdir.patch 581
+RMD160 06d5d7bbb8fad3e77145a4857540fe244ff115a0 files/ocaml-sqlite3-0.22.0-destdir.patch 581
+SHA256 868795cc01eb64a135637900ed0edd965b3528b95660f0005f475f27d19da580 files/ocaml-sqlite3-0.22.0-destdir.patch 581
+DIST ocaml-sqlite3-0.22.0.tar.bz2 46117 RMD160 a15273f2d21881774d734033669a9c6a401493c1 SHA1 fce034d888daed0d2674de09f881db46c0233eda SHA256 6b3f8b7eae5af5c4cfe5a07bdbd3019ac4c7b5c969df4938c911bee5e02c94ee
+EBUILD ocaml-sqlite3-0.22.0.ebuild 1045 RMD160 37265418e131a7ae60aa8e66f2e7fcfe441df34c SHA1 493a681754a3f37019a8803f6f1a3fbead381522 SHA256 e179dd51ddf49589a29a8539b698f24941f5b296875193b65083c716d69021f0
+MD5 1333359d1ddb737590f4ad2069b34d34 ocaml-sqlite3-0.22.0.ebuild 1045
+RMD160 37265418e131a7ae60aa8e66f2e7fcfe441df34c ocaml-sqlite3-0.22.0.ebuild 1045
+SHA256 e179dd51ddf49589a29a8539b698f24941f5b296875193b65083c716d69021f0 ocaml-sqlite3-0.22.0.ebuild 1045
+MISC ChangeLog 460 RMD160 7a6a152f26bfdc9a26667f0b987094964f476175 SHA1 a50055eb0199819accf57e85cd32d80c92c8a1fe SHA256 a8006eb3d90ea5b5a260f71349926d40e6f5baab2914a18a6545954015cee004
+MD5 0f17e4f0fd19aee083fec7c801c5019f ChangeLog 460
+RMD160 7a6a152f26bfdc9a26667f0b987094964f476175 ChangeLog 460
+SHA256 a8006eb3d90ea5b5a260f71349926d40e6f5baab2914a18a6545954015cee004 ChangeLog 460
+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 59032b12746fdf1e50469155061a4bbc files/digest-ocaml-sqlite3-0.22.0 262
+RMD160 9c04b31aa3b30dc85ce6ac816935e0decea67349 files/digest-ocaml-sqlite3-0.22.0 262
+SHA256 5500e7a3d504f4c4aabe4be5d166e3e89ca01c0c3cd4c40695790dcaec1a9dc6 files/digest-ocaml-sqlite3-0.22.0 262
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.6 (GNU/Linux)
+
+iD8DBQFG18IIvFcC4BYPU0oRAvkHAJ9bmagW7BcCchIilAW3ihTsTBOlOgCghNX8
+ntotVl9G9IUABkVdHbyKZEo=
+=+HhF
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocaml-sqlite3/files/digest-ocaml-sqlite3-0.22.0 b/dev-ml/ocaml-sqlite3/files/digest-ocaml-sqlite3-0.22.0
new file mode 100644
index 000000000000..333701d1668d
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/files/digest-ocaml-sqlite3-0.22.0
@@ -0,0 +1,3 @@
+MD5 5170f446374a09d839947ac122f2b6bd ocaml-sqlite3-0.22.0.tar.bz2 46117
+RMD160 a15273f2d21881774d734033669a9c6a401493c1 ocaml-sqlite3-0.22.0.tar.bz2 46117
+SHA256 6b3f8b7eae5af5c4cfe5a07bdbd3019ac4c7b5c969df4938c911bee5e02c94ee ocaml-sqlite3-0.22.0.tar.bz2 46117
diff --git a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch
new file mode 100644
index 000000000000..19bd30f627e6
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch
@@ -0,0 +1,13 @@
+Index: ocaml-sqlite3-0.22.0/Makefile.in
+===================================================================
+--- ocaml-sqlite3-0.22.0.orig/Makefile.in
++++ ocaml-sqlite3-0.22.0/Makefile.in
+@@ -37,7 +37,7 @@ install: sqlite3.cma sqlite3.cmxa sqlite
+ [ -f *.so ] && SO_FILES=*.so; \
+ ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES
+ ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma
+- $(INSTALL) sqlite3top $(bindir)/sqlite3top
++ $(INSTALL) -D sqlite3top $(DESTDIR)$(bindir)/sqlite3top
+
+ remove: uninstall
+ uninstall:
diff --git a/dev-ml/ocaml-sqlite3/metadata.xml b/dev-ml/ocaml-sqlite3/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/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>
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-0.22.0.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-0.22.0.ebuild
new file mode 100644
index 000000000000..1ce2e3ace58b
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-0.22.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ocaml-sqlite3-0.22.0.ebuild,v 1.1 2007/08/31 07:23:45 aballier Exp $
+
+inherit findlib eutils
+
+IUSE="doc"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases."
+SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.bz2"
+HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3"
+
+DEPEND=">=dev-lang/ocaml-3.09
+ >=dev-db/sqlite-3.3.3"
+
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-destdir.patch"
+}
+
+src_compile() {
+ econf
+ emake -j1 bytecode || die "make bytecode failed"
+ emake -j1 opt || die "make opt failed"
+ if use doc; then
+ emake -j1 docs || die "make doc failed"
+ fi
+}
+
+src_install() {
+ findlib_src_preinst
+ export OCAMLPATH="${OCAMLFIND_DESTDIR}"
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc CHANGES README TODO
+ use doc && dohtml doc/*
+}