Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ml/postgresql-ocaml
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/ChangeLog,v 1.8 2008/06/19 07:26:34 aballier Exp $
19 Jun 2008; Alexis Ballier
postgresql-ocaml-1.8.2.ebuild:
Depend on virtual/postgresql-base too as we need libpq, bug #227655
21 May 2008; Tiziano Müller
postgresql-ocaml-1.4.6.ebuild, postgresql-ocaml-1.8.2.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
12 May 2008; Alexis Ballier
-postgresql-ocaml-1.7.0.ebuild:
remove old
*postgresql-ocaml-1.8.2 (08 Apr 2008)
08 Apr 2008; Alexis Ballier
+postgresql-ocaml-1.8.2.ebuild:
version bump
04 Jan 2008; Alexis Ballier
postgresql-ocaml-1.7.0.ebuild:
add support to not build with ocmlopt
*postgresql-ocaml-1.7.0 (23 Aug 2007)
23 Aug 2007; Alexis Ballier
+postgresql-ocaml-1.7.0.ebuild:
version bump, ~amd64, bug #152994
05 Feb 2007; Diego Pettenò
Regenerate digest in Manifest2 format.
*postgresql-ocaml-1.4.6 (21 Sep 2005)
21 Sep 2005; Matthieu Sozeau
+postgresql-ocaml-1.4.6.ebuild:
PostGreSQL bindings for OCaml.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST postgresql-ocaml-1.4.6.tar.bz2 34319 RMD160 86f8551d35292c68a529df1c2b9f0ce2de032ae1 SHA1 9df05692069589e8b1e7dd71526b393c22950d16 SHA256 81a842daccf4b72fb2d35cd1fbd6f546cd999821da404eec90a3c3822aed8d3b
DIST postgresql-ocaml-1.8.2.tar.bz2 37025 RMD160 0836f488204286036b0316655ea838014d524bc3 SHA1 88a9729c8ba697b55048bb479d4a061e786c87d4 SHA256 44ccf9a4dfe68dbc1114a12c87814e401b54a03f17d20e6859c70604364cfbe3
EBUILD postgresql-ocaml-1.4.6.ebuild 864 RMD160 18bf806f920c181a39d57b5a90a295eeec60f929 SHA1 74f274c99d2d82de191ac0a3a4345ec48169d7c5 SHA256 d26fdaceced38c0892906fdb96fbd14f38f28726e8f11a30b173a624a92aa7bc
EBUILD postgresql-ocaml-1.8.2.ebuild 1490 RMD160 719c022cae6031bb137145d0e26dc6a39d1082c1 SHA1 a42022d1c051ba126f4da9abd0a0e7dc68dfb38f SHA256 8c6b7e4c2069b863d80b45e22d7ae1be7ba744ff29490fb42c67bd91d0420c48
MISC ChangeLog 1393 RMD160 ff62e2903df1a8bcad06bd675233a37ee0b08148 SHA1 7ca149ab4f309da21ad8f83338361d8373c2597f SHA256 9f0e2d83b9592bd3ff2c11f36dd894083b5a27b6cba1972edbb0a5ff5391d467
MISC metadata.xml 157 RMD160 30153301a2a5cca5547a6e47941aae2895837613 SHA1 66e87d50f913856e703f3ee29841b03332af40db SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhaCoEACgkQvFcC4BYPU0r9qgCguze8c8eGd0+oa6E5QkrW7skR
VjwAn3uRST8oK0vjkPeMuK3EnKm7pcXF
=rFwp
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.4.6.ebuild,v 1.2 2008/05/21 16:00:23 dev-zero Exp $
inherit findlib
IUSE=""
DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases."
SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.bz2"
HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#toc9"
DEPEND=">=dev-lang/ocaml-3.07
>=virtual/postgresql-server-7.3"
RDEPEND=">=dev-lang/ocaml-3.06"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="x86 ~ppc"
src_compile()
{
emake CFLAGS=-I/usr/include/postgresql/pgsql
}
src_install()
{
findlib_src_preinst
make DESTDIR=${D} install || die
if use doc; then
for dir in examples/*
do
docinto $dir
dodoc $dir/*
done
fi
dodoc INSTALL AUTHORS VERSION
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-1.8.2.ebuild,v 1.3 2008/06/19 07:26:34 aballier Exp $
inherit findlib eutils
EAPI="1"
IUSE="examples +ocamlopt"
DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases."
SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.bz2"
HOMEPAGE="http://ocaml.info/home/ocaml_sources.html#toc9"
DEPEND=">=dev-lang/ocaml-3.09
>=virtual/postgresql-base-7.3
>=virtual/postgresql-server-7.3"
RDEPEND="${DEPEND}"
SLOT="0"
LICENSE="LGPL-2"
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_compile() {
cd "${S}/lib"
emake -j1 byte-code-library || die "failed to build byte code library"
if use ocamlopt; then
emake -j1 native-code-library || die "failed to built nativde code library"
fi
}
src_install () {
use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional"
findlib_src_preinst
emake DESTDIR="${D}" install || die
dodoc AUTHORS VERSION
if use examples; then
for dir in examples/*
do
docinto $dir
dodoc $dir/*
done
fi
}