summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-09-24 19:05:26 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-09-24 19:05:26 +0000
commitd65c67dec52d50be96c6d3b7358d0b8cbacc3d0f (patch)
tree0173a390a27cc512d380a9db6d45961fbf620dbd
parentdev-db/pgadmin3: Moved into main tree (diff)
downloadtesting-d65c67dec52d50be96c6d3b7358d0b8cbacc3d0f.tar.gz
testing-d65c67dec52d50be96c6d3b7358d0b8cbacc3d0f.tar.bz2
testing-d65c67dec52d50be96c6d3b7358d0b8cbacc3d0f.zip
dev-libs/libpqxx: Version bump.
svn path=/testing/; revision=98
-rw-r--r--dev-libs/libpqxx/ChangeLog3
-rw-r--r--dev-libs/libpqxx/Manifest16
-rw-r--r--dev-libs/libpqxx/files/digest-libpqxx-2.6.83
-rw-r--r--dev-libs/libpqxx/libpqxx-2.6.8.ebuild59
4 files changed, 77 insertions, 4 deletions
diff --git a/dev-libs/libpqxx/ChangeLog b/dev-libs/libpqxx/ChangeLog
index ed08ccf..1c5722d 100644
--- a/dev-libs/libpqxx/ChangeLog
+++ b/dev-libs/libpqxx/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.30 2006/07/18 21:32:36 jer Exp $
+ 24 Sep 2006; Tiziano Müller <gentoo@dev-zero.ch> +libpqxx-2.6.8.ebuild:
+ Version bump.
+
30 Jul 2006; Luca Longinotti <chtekk@gentoo.org> libpqxx-2.6.7.ebuild:
Add cd S, instead of specifying it later.
diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 7549c6e..7185d6c 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,12 +1,17 @@
DIST libpqxx-2.6.7.tar.gz 1595069 RMD160 dc723ca4c299607af2981676668cf5e4097cc01b SHA1 54b513728873796b9c43a8d6a81b8b7af486e073 SHA256 59d01aab3b442954a044fd21bb43482f03cf750fa54e03f03a6fc2543a6cca7a
+DIST libpqxx-2.6.8.tar.gz 1690973 RMD160 5a9a57774ac878d827af8940e87f5d92c2a1b86a SHA1 2f963c98b8a79675d537daadc3ba6c313c35f59d SHA256 b3b4a1de89936d36f61ba1da1ca2c0e0f412cdab004a402761f9433b1d0a3a8d
EBUILD libpqxx-2.6.7.ebuild 1586 RMD160 c43dd66dc7636f12410c6a6e38061f39f91b2ef5 SHA1 5045e70ac9be7140d85c8ab2a7bef780e416f982 SHA256 38111572b49a26e0bd2c3d14f1a6fcb062a7f0505ecc536261e6019916f2d84b
MD5 bb78f569296741ee8a6405cdffcf4637 libpqxx-2.6.7.ebuild 1586
RMD160 c43dd66dc7636f12410c6a6e38061f39f91b2ef5 libpqxx-2.6.7.ebuild 1586
SHA256 38111572b49a26e0bd2c3d14f1a6fcb062a7f0505ecc536261e6019916f2d84b libpqxx-2.6.7.ebuild 1586
-MISC ChangeLog 4260 RMD160 f9d634e377be8d6c36cd652fb10d9be6ad04fda8 SHA1 13ac36ff17cf2b50d7aefb652694ccbf03bad22b SHA256 3da15627eed6ef79f880380cb14080b5cbdfe1783f00d37e270a7eae0213dca8
-MD5 2132f9f2f6fd5eb6a76813641f8de940 ChangeLog 4260
-RMD160 f9d634e377be8d6c36cd652fb10d9be6ad04fda8 ChangeLog 4260
-SHA256 3da15627eed6ef79f880380cb14080b5cbdfe1783f00d37e270a7eae0213dca8 ChangeLog 4260
+EBUILD libpqxx-2.6.8.ebuild 1586 RMD160 c43dd66dc7636f12410c6a6e38061f39f91b2ef5 SHA1 5045e70ac9be7140d85c8ab2a7bef780e416f982 SHA256 38111572b49a26e0bd2c3d14f1a6fcb062a7f0505ecc536261e6019916f2d84b
+MD5 bb78f569296741ee8a6405cdffcf4637 libpqxx-2.6.8.ebuild 1586
+RMD160 c43dd66dc7636f12410c6a6e38061f39f91b2ef5 libpqxx-2.6.8.ebuild 1586
+SHA256 38111572b49a26e0bd2c3d14f1a6fcb062a7f0505ecc536261e6019916f2d84b libpqxx-2.6.8.ebuild 1586
+MISC ChangeLog 4352 RMD160 585abdf44743441d92fb8a9a7263cbd0bd5f9ae9 SHA1 bf6ec8c3be25fc10001626a261578b82950a3183 SHA256 9ddcb8bbb3432b54cec4a48109dbbeb11e0ff9775c85b2e2a4e810080bb7de52
+MD5 9ff1368d6414a077b4d22caca0b36b95 ChangeLog 4352
+RMD160 585abdf44743441d92fb8a9a7263cbd0bd5f9ae9 ChangeLog 4352
+SHA256 9ddcb8bbb3432b54cec4a48109dbbeb11e0ff9775c85b2e2a4e810080bb7de52 ChangeLog 4352
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
@@ -14,3 +19,6 @@ SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b metadata
MD5 6e5db28f99d5f32978073bf30de041ef files/digest-libpqxx-2.6.7 244
RMD160 e534ad7bfafb8a7b23fd4113dd7d62615e429ec7 files/digest-libpqxx-2.6.7 244
SHA256 6ffd053b58de9f210e99c1631a99d3249d671b264b5e77456858d7e4be818361 files/digest-libpqxx-2.6.7 244
+MD5 ad01392f6a1ef78d0b4c9bb94aeb2c90 files/digest-libpqxx-2.6.8 244
+RMD160 a74e92c89e99c7ef38212a85de57955edb6fff4a files/digest-libpqxx-2.6.8 244
+SHA256 68d1b04bb9df98c65d6e2e3d60def4ccffa1d39c2e0f823e874fcdb0b9406680 files/digest-libpqxx-2.6.8 244
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 0000000..b205813
--- /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 0000000..b201479
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-2.6.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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() {
+ cd "${S}"
+
+ econf --enable-shared || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ cd "${S}"
+
+ 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"
+}