summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-07-31 09:55:05 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-07-31 09:55:05 +0000
commit00da61e3526083a827eb275f5ba2965adce5c240 (patch)
treefbca84b735bfa9a36d1122f3a549ebc05a912215 /dev-db/psqlodbc
parentiodbc USE-flag added for psqlodbc (diff)
downloadexperimental-00da61e3526083a827eb275f5ba2965adce5c240.tar.gz
experimental-00da61e3526083a827eb275f5ba2965adce5c240.tar.bz2
experimental-00da61e3526083a827eb275f5ba2965adce5c240.zip
dev-db/psqlodbc: New ebuild for bug #50368
svn path=/experimental/; revision=50
Diffstat (limited to 'dev-db/psqlodbc')
-rw-r--r--dev-db/psqlodbc/ChangeLog8
-rw-r--r--dev-db/psqlodbc/Manifest16
-rw-r--r--dev-db/psqlodbc/files/digest-psqlodbc-08.02.00023
-rw-r--r--dev-db/psqlodbc/metadata.xml5
-rw-r--r--dev-db/psqlodbc/psqlodbc-08.02.0002.ebuild53
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-db/psqlodbc/ChangeLog b/dev-db/psqlodbc/ChangeLog
new file mode 100644
index 0000000..7bc712a
--- /dev/null
+++ b/dev-db/psqlodbc/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-db/psqlodbc
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 31 Jul 2006; Tiziano Müller <gentoo@dev-zero.ch>
+ +psqlodbc-08.02.0002.ebuild, +metadata.xml:
+ New ebuild for bug #50368
+
diff --git a/dev-db/psqlodbc/Manifest b/dev-db/psqlodbc/Manifest
new file mode 100644
index 0000000..041a619
--- /dev/null
+++ b/dev-db/psqlodbc/Manifest
@@ -0,0 +1,16 @@
+DIST psqlodbc-08.02.0002.tar.gz 652970 RMD160 84cc65ba1e19336ad136afa2f2e3d9bb4ca59d82 SHA1 b63a22b72e200cdf29265ea0be459db21235afe1 SHA256 8e524996f7954c2d519a1efe0a9fb9262eeb36d7b6e19820bcb0882c1e8b10d0
+EBUILD psqlodbc-08.02.0002.ebuild 1156 RMD160 939b826f2ff04dc1f4b3e80d661bf394932b967b SHA1 4c70a6f2d609f0c2291f7ee74ebf4b3e8b1b41b7 SHA256 d7dae6726a7ef13d697d21dc2a87921960498a429829101f85d76385bfabe173
+MD5 8ddb75fb376c681833b16dd639a81ebf psqlodbc-08.02.0002.ebuild 1156
+RMD160 939b826f2ff04dc1f4b3e80d661bf394932b967b psqlodbc-08.02.0002.ebuild 1156
+SHA256 d7dae6726a7ef13d697d21dc2a87921960498a429829101f85d76385bfabe173 psqlodbc-08.02.0002.ebuild 1156
+MISC ChangeLog 243 RMD160 5b90cee2c8e461443c62082a973eb8ca08bdaa54 SHA1 073a306603711318eb2ce29ebadeb385057c5e42 SHA256 d51f015c83bed1d4a8f9a90c64801db10079da3e80b6abd5ee77aa7206b88502
+MD5 e653d0df0c22a40f624e3bbc6a3a4a36 ChangeLog 243
+RMD160 5b90cee2c8e461443c62082a973eb8ca08bdaa54 ChangeLog 243
+SHA256 d51f015c83bed1d4a8f9a90c64801db10079da3e80b6abd5ee77aa7206b88502 ChangeLog 243
+MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
+MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
+RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
+SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b metadata.xml 164
+MD5 04fe5ea0bee5305fb940676921a4e015 files/digest-psqlodbc-08.02.0002 259
+RMD160 a0177840c79c7ab711fc0b1a7856d58dcf6268c2 files/digest-psqlodbc-08.02.0002 259
+SHA256 525e46e1dd05c131d7db56cde4d6fd5c44c2ee66367494a6b8b3cc1d2b27bc82 files/digest-psqlodbc-08.02.0002 259
diff --git a/dev-db/psqlodbc/files/digest-psqlodbc-08.02.0002 b/dev-db/psqlodbc/files/digest-psqlodbc-08.02.0002
new file mode 100644
index 0000000..1dbf796
--- /dev/null
+++ b/dev-db/psqlodbc/files/digest-psqlodbc-08.02.0002
@@ -0,0 +1,3 @@
+MD5 46801646f120105c38c247a6c77ebafe psqlodbc-08.02.0002.tar.gz 652970
+RMD160 84cc65ba1e19336ad136afa2f2e3d9bb4ca59d82 psqlodbc-08.02.0002.tar.gz 652970
+SHA256 8e524996f7954c2d519a1efe0a9fb9262eeb36d7b6e19820bcb0882c1e8b10d0 psqlodbc-08.02.0002.tar.gz 652970
diff --git a/dev-db/psqlodbc/metadata.xml b/dev-db/psqlodbc/metadata.xml
new file mode 100644
index 0000000..d06e452
--- /dev/null
+++ b/dev-db/psqlodbc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>postgresql</herd>
+</pkgmetadata>
diff --git a/dev-db/psqlodbc/psqlodbc-08.02.0002.ebuild b/dev-db/psqlodbc/psqlodbc-08.02.0002.ebuild
new file mode 100644
index 0000000..5a5a2b7
--- /dev/null
+++ b/dev-db/psqlodbc/psqlodbc-08.02.0002.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+KEYWORDS="~x86"
+
+DESCRIPTION="The official PostgreSQL ODBC Driver"
+HOMEPAGE="http://pgfoundry.org/projects/psqlodbc/"
+SRC_URI="http://pgfoundry.org/frs/download.php/874/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="iodbc threads unicode"
+
+DEPEND="dev-db/libpq
+ iodbc? ( dev-db/libiodbc )
+ !iodbc? ( dev-db/unixODBC )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Patching Makefile.am and running eautoreconf didn't work
+ sed -i \
+ -e 's/\(psqlodbc_la\)/lib\1/g' \
+ -e 's/\(psqlodbc.la\)/lib\1/g' \
+ Makefile.in || die "sed failed"
+
+ if use iodbc; then
+ sed -i \
+ -e "/^DEFAULT_INCLUDES/s:$: `iodbc-config --cflags`:" \
+ Makefile.in || die "sed failed"
+ fi
+
+}
+
+src_compile() {
+ econf \
+ $(use_with iodbc) \
+ $(use_with !iodbc unixodbc) \
+ $(use_enable threads pthreads) \
+ $(use_enable unicode) \
+ --enable-static \
+ --enable-shared \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc readme.txt
+ dohtml docs/*
+}