summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-21 12:14:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-21 12:14:24 +0000
commit764106dd24661e1d14e301a78ebcaf59ab35c6ee (patch)
tree16dc0633f4d742df54802aca452eaf401c245bfe /dev-ml/ocaml-sqlite3
parentVersion bump (diff)
downloadhistorical-764106dd24661e1d14e301a78ebcaf59ab35c6ee.tar.gz
historical-764106dd24661e1d14e301a78ebcaf59ab35c6ee.tar.bz2
historical-764106dd24661e1d14e301a78ebcaf59ab35c6ee.zip
version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/ocaml-sqlite3')
-rw-r--r--dev-ml/ocaml-sqlite3/ChangeLog8
-rw-r--r--dev-ml/ocaml-sqlite3/Manifest11
-rw-r--r--dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.5.1-werror.patch13
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild46
4 files changed, 73 insertions, 5 deletions
diff --git a/dev-ml/ocaml-sqlite3/ChangeLog b/dev-ml/ocaml-sqlite3/ChangeLog
index 689e4d070b9d..6416e5f7f386 100644
--- a/dev-ml/ocaml-sqlite3/ChangeLog
+++ b/dev-ml/ocaml-sqlite3/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/ocaml-sqlite3
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.11 2009/06/21 12:03:40 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.12 2009/06/21 12:14:24 aballier Exp $
+
+*ocaml-sqlite3-1.5.1 (21 Jun 2009)
+
+ 21 Jun 2009; Alexis Ballier <aballier@gentoo.org>
+ +ocaml-sqlite3-1.5.1.ebuild, +files/ocaml-sqlite3-1.5.1-werror.patch:
+ version bump
21 Jun 2009; Alexis Ballier <aballier@gentoo.org>
ocaml-sqlite3-1.2.0.ebuild:
diff --git a/dev-ml/ocaml-sqlite3/Manifest b/dev-ml/ocaml-sqlite3/Manifest
index 11120e2c114a..133072387e9d 100644
--- a/dev-ml/ocaml-sqlite3/Manifest
+++ b/dev-ml/ocaml-sqlite3/Manifest
@@ -4,14 +4,17 @@ Hash: SHA1
AUX ocaml-sqlite3-0.22.0-destdir.patch 606 RMD160 5d5a119f8079536fbe9aae1c143d2c35203552ae SHA1 f0a7fe28dfba9c9659dc39610e7a4e0893fca336 SHA256 167a3c4ed508b2e3d0e9d79a33c23d2b4cace3ce3793ea9d5d461a9c291ea3fa
AUX ocaml-sqlite3-0.23.0-noocamlopt.patch 762 RMD160 9c7377173caba3ec6b2692728163a5779c2a5a10 SHA1 2876e7a37a0179acd51d6bf6f4407ee608c68160 SHA256 d6e6aa74c11bf06c9a38333f5c7aa676ccc4cbe2867ecab68edc38ce30793366
AUX ocaml-sqlite3-1.2.0-werror.patch 416 RMD160 b0831045718a89fb385313f1b68a919ce7effa1a SHA1 8a9cf78cb67e63699a55eb87ed1797c97f3f115c SHA256 fd0e1da1ba6460bc34d19cdc46fe76e72f5049758531fd4c7297cfc215d865ff
+AUX ocaml-sqlite3-1.5.1-werror.patch 455 RMD160 5cb28edcb0f0c2679a4217945625c1d232ec020a SHA1 e30cb51f76f640fb59e04bc837402f037169cf6e SHA256 a53259d8869a843d82ed62316b1cf3bc5a183dfbfe2cecd94d6924a217f40386
DIST ocaml-sqlite3-1.2.0.tar.bz2 47143 RMD160 0d6d83c394aaa265d2b7fadcf4a4b6351d4be5ec SHA1 b420e3a2969224b6c189e46b43676db053807924 SHA256 cd0fc0fb3b7838ab71483a066add6c20bb06baf8b141a8bdef11159110e28d2a
+DIST ocaml-sqlite3-1.5.1.tar.gz 54144 RMD160 524b199a862e131e9eb40a0886310c8d627249dc SHA1 f74958d7bc835c3d5999aeb71047a18a2420459f SHA256 0edfc0b771d56dd02566c971141931f08cf5ad928f5a0c502fb1590ba95cc369
EBUILD ocaml-sqlite3-1.2.0.ebuild 1575 RMD160 b5881a0203ee7ae3bf24a18621085c43cb4b27a4 SHA1 054205bd62f719ef2193f6a0080f49a9d9bbf1e6 SHA256 dba37c25731b87ba43c3af58b6baddb56c50357597bbfef21256b419eafdc5d6
-MISC ChangeLog 1906 RMD160 5da494de4df81f256998f2c912e817100dadb2f8 SHA1 7bf08dae63a2f33f5207039b662d0b92b6180c56 SHA256 71bcc55cf7c63e58dba1e347344823bf81b1c23c7f7e84adc5b767d8a6bd030a
+EBUILD ocaml-sqlite3-1.5.1.ebuild 1200 RMD160 cb8dcd65b19df71702d7adcff20e35cc68b8fbfa SHA1 ab619d829a6ea4e1b5cc582fa33ba9392c6ee3c5 SHA256 15b313d7b89dad173409f8922693cb4dd89ce22a94a4111c1b01cdbf9459554c
+MISC ChangeLog 2082 RMD160 2963562e5c558236c83e382ea1e2af2d2b59dce7 SHA1 6935569d6db36254c8528462f22c9ec6db22d968 SHA256 73f3f0b19d36903e086896a1b43b9f111b0c2c4ae508caefe5dff8ed1e310940
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
-iEYEARECAAYFAko+IaAACgkQvFcC4BYPU0rW0QCeNmc/qTBJypHBjnBzLxaMVR5m
-EpkAoKXhT2AY5IhMMrqAcRVmaEfJde7v
-=cAp5
+iEYEARECAAYFAko+JCQACgkQvFcC4BYPU0q8YwCfbd0a1K/RJU7vLQ6+wAfOzRNL
+jYUAoIiIauQjYIQlI1euiMhp427EYaB8
+=sreV
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.5.1-werror.patch b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.5.1-werror.patch
new file mode 100644
index 000000000000..ab0c709dedc9
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.5.1-werror.patch
@@ -0,0 +1,13 @@
+Index: ocaml-sqlite3-1.5.1/Makefile.in
+===================================================================
+--- ocaml-sqlite3-1.5.1.orig/Makefile.in
++++ ocaml-sqlite3-1.5.1/Makefile.in
+@@ -12,7 +12,7 @@ else
+ endif
+
+ CC=@CC@
+-CFLAGS=@CPPFLAGS@ @CFLAGS@ $(HAS_ENABLE_LOAD_EXTENSION) -fPIC -Wall -pedantic -Werror -Wno-long-long
++CFLAGS=@CPPFLAGS@ @CFLAGS@ $(HAS_ENABLE_LOAD_EXTENSION) -fPIC -Wall -pedantic -Wno-long-long
+ LIBS=@LIBS@
+ LDFLAGS=@LDFLAGS@
+
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild
new file mode 100644
index 000000000000..8b02e778e7ca
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ocaml-sqlite3-1.5.1.ebuild,v 1.1 2009/06/21 12:14:24 aballier Exp $
+
+EAPI="2"
+
+inherit findlib eutils
+
+IUSE="doc +ocamlopt"
+
+DESCRIPTION="A package for ocaml that provides access to SQLite databases."
+SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.gz"
+HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3"
+
+DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]
+ >=dev-db/sqlite-3.3.3"
+
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.22.0-destdir.patch"
+ epatch "${FILESDIR}/${PN}-0.23.0-noocamlopt.patch"
+ epatch "${FILESDIR}/${PN}-1.5.1-werror.patch"
+}
+
+src_compile() {
+ emake -j1 bytecode || die "make bytecode failed"
+ if use ocamlopt; then
+ emake -j1 opt || die "make opt failed"
+ fi
+ 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 Changelog README.txt TODO
+ use doc && dohtml doc/*
+}