Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ml/ocaml-sqlite3
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-sqlite3/ChangeLog,v 1.9 2008/07/13 06:55:09 josejx Exp $
13 Jul 2008; Joseph Jezak
Marked ~ppc for bug #197363.
07 Jun 2008; Alexis Ballier
-ocaml-sqlite3-1.0.2.ebuild:
remove old
*ocaml-sqlite3-1.2.0 (12 May 2008)
12 May 2008; Alexis Ballier
+ocaml-sqlite3-1.2.0.ebuild:
version bump
13 Apr 2008; Alexis Ballier
-ocaml-sqlite3-0.23.0.ebuild:
remove old
*ocaml-sqlite3-1.0.2 (08 Apr 2008)
08 Apr 2008; Alexis Ballier
+ocaml-sqlite3-1.0.2.ebuild:
version bump
08 Apr 2008; Alexis Ballier
-ocaml-sqlite3-0.22.0.ebuild:
remove old
02 Jan 2008; Alexis Ballier
+files/ocaml-sqlite3-0.23.0-noocamlopt.patch, ocaml-sqlite3-0.23.0.ebuild:
Add support to not build with ocamlopt
*ocaml-sqlite3-0.23.0 (08 Dec 2007)
08 Dec 2007; Alexis Ballier
+ocaml-sqlite3-0.23.0.ebuild:
version bump, thanks to Arfrever Frehtes Taifersar Arahesis
*ocaml-sqlite3-0.22.0 (31 Aug 2007)
31 Aug 2007; Alexis Ballier
+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
AUX ocaml-sqlite3-0.22.0-destdir.patch 581 RMD160 06d5d7bbb8fad3e77145a4857540fe244ff115a0 SHA1 63ee23fffe40aa8ffe5dcf7a7e6f9a00f83e4e0d SHA256 868795cc01eb64a135637900ed0edd965b3528b95660f0005f475f27d19da580
AUX ocaml-sqlite3-0.23.0-noocamlopt.patch 762 RMD160 9c7377173caba3ec6b2692728163a5779c2a5a10 SHA1 2876e7a37a0179acd51d6bf6f4407ee608c68160 SHA256 d6e6aa74c11bf06c9a38333f5c7aa676ccc4cbe2867ecab68edc38ce30793366
DIST ocaml-sqlite3-1.2.0.tar.bz2 47143 RMD160 0d6d83c394aaa265d2b7fadcf4a4b6351d4be5ec SHA1 b420e3a2969224b6c189e46b43676db053807924 SHA256 cd0fc0fb3b7838ab71483a066add6c20bb06baf8b141a8bdef11159110e28d2a
EBUILD ocaml-sqlite3-1.2.0.ebuild 1516 RMD160 dd9ae561dba51997ba65050a2f453674cc741c94 SHA1 f08964468b9245bc33e61da064029a070179818a SHA256 f4e1e58ad77da845f270b85c26727e68dfbfc41169e3cd1cd4aeef04bbfb6835
MISC ChangeLog 1538 RMD160 d5856624087fc74a0d3a4c0853f9a1cc5097c19e SHA1 ead3644ece5cae5ad98a9a2e869fc6ae2a3aa656 SHA256 7569793eac82503edd69676ca24ce6fc92c3679bab641e4180089cc2d2f3fcd8
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
# Copyright 1999-2008 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.2.0.ebuild,v 1.2 2008/07/13 06:55:09 josejx Exp $
inherit findlib eutils
EAPI="1"
IUSE="doc +ocamlopt"
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 ~ppc ~x86"
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_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-0.22.0-destdir.patch"
epatch "${FILESDIR}/${PN}-0.23.0-noocamlopt.patch"
}
src_compile() {
econf
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 CHANGES README TODO
use doc && dohtml doc/*
}