summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libpqxx/ChangeLog9
-rw-r--r--dev-libs/libpqxx/files/digest-libpqxx-2.6.83
-rw-r--r--dev-libs/libpqxx/libpqxx-2.6.8.ebuild55
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/libpqxx/ChangeLog b/dev-libs/libpqxx/ChangeLog
index fbed4e917920..6def6e6aa062 100644
--- a/dev-libs/libpqxx/ChangeLog
+++ b/dev-libs/libpqxx/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libpqxx
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.31 2006/09/16 20:23:35 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.32 2006/10/29 21:59:40 dev-zero Exp $
+
+*libpqxx-2.6.8 (29 Oct 2006)
+
+ 29 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> -libpqxx-1.5.1.ebuild,
+ -libpqxx-2.4.3.ebuild, -libpqxx-2.4.4.ebuild, -libpqxx-2.5.0.ebuild,
+ +libpqxx-2.6.8.ebuild:
+ Version bump. Cleaning out old versions.
16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libpqxx-2.5.5.ebuild:
diff --git a/dev-libs/libpqxx/files/digest-libpqxx-2.6.8 b/dev-libs/libpqxx/files/digest-libpqxx-2.6.8
new file mode 100644
index 000000000000..b205813f7518
--- /dev/null
+++ b/dev-libs/libpqxx/files/digest-libpqxx-2.6.8
@@ -0,0 +1,3 @@
+MD5 cb818ca7698955bcea8b7ba1b7962811 libpqxx-2.6.8.tar.gz 1690973
+RMD160 5a9a57774ac878d827af8940e87f5d92c2a1b86a libpqxx-2.6.8.tar.gz 1690973
+SHA256 b3b4a1de89936d36f61ba1da1ca2c0e0f412cdab004a402761f9433b1d0a3a8d libpqxx-2.6.8.tar.gz 1690973
diff --git a/dev-libs/libpqxx/libpqxx-2.6.8.ebuild b/dev-libs/libpqxx/libpqxx-2.6.8.ebuild
new file mode 100644
index 000000000000..0a0f6e6ba0d0
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-2.6.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-2.6.8.ebuild,v 1.1 2006/10/29 21:59:40 dev-zero Exp $
+
+inherit eutils
+
+KEYWORDS="~alpha ~amd64 ~hppa ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface."
+SRC_URI="ftp://thaiopensource.org/software/${PN}/${P}.tar.gz"
+HOMEPAGE="http://thaiopensource.org/development/libpqxx/"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-db/libpq"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # should be safe enough to remove the lines directly from configure,
+ # since it's copied directly from configure.ac
+ sed -i \
+ -e 's/\(gcc_visibility\)=yes/\1=no/g' \
+ -e 's@\(#define PQXX_HAVE_GCC_VISIBILITY 1\)@/* \1 */@g' \
+ -e '/-Werror/d' \
+ configure || die "sed failed"
+}
+
+src_compile() {
+ econf --enable-shared || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO
+ dohtml -r doc/html/*
+}
+
+src_test() {
+ ewarn "The tests need a running PostgreSQL server and an existing database!"
+ ewarn "You can set the following environment variables to change the connection parameters:"
+ ewarn "PGDATABASE (default: username, probably root)"
+ ewarn "PGHOST (default: localhost)"
+ ewarn "PGPORT (default: pg's UNIX domain-socket)"
+ ewarn "PGUSER (default: username, probably root)"
+ epause 10
+
+ cd "${S}/test"
+ emake -j1 check || die "emake check failed"
+}