summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2012-11-28 20:55:25 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2012-11-28 20:55:25 +0000
commitb91ab9911fadfcbeeeaa7d4600a36644777559e5 (patch)
treed0008109bb2ec8ed42f74b8d942aef4a153e709b /dev-db
parentFix LICENSE, MIT (Expat) license according to COPYING file, bug 444852. (diff)
downloadgentoo-2-b91ab9911fadfcbeeeaa7d4600a36644777559e5.tar.gz
gentoo-2-b91ab9911fadfcbeeeaa7d4600a36644777559e5.tar.bz2
gentoo-2-b91ab9911fadfcbeeeaa7d4600a36644777559e5.zip
New ebuild for psqlodbc. Written by me with help from folks on bug 50368.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/psqlodbc/ChangeLog9
-rw-r--r--dev-db/psqlodbc/Manifest4
-rw-r--r--dev-db/psqlodbc/metadata.xml8
-rw-r--r--dev-db/psqlodbc/psqlodbc-09.01.0200.ebuild42
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/psqlodbc/ChangeLog b/dev-db/psqlodbc/ChangeLog
new file mode 100644
index 000000000000..038d5072a84d
--- /dev/null
+++ b/dev-db/psqlodbc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-db/psqlodbc
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/psqlodbc/ChangeLog,v 1.1 2012/11/28 20:55:25 titanofold Exp $
+
+*psqlodbc-09.01.0200 (28 Nov 2012)
+
+ 28 Nov 2012; <titan@gentoo.org> +psqlodbc-09.01.0200.ebuild, +metadata.xml:
+ New ebuild for psqlodbc. Written by me with help from folks on bug 50368.
+
diff --git a/dev-db/psqlodbc/Manifest b/dev-db/psqlodbc/Manifest
new file mode 100644
index 000000000000..030c307df652
--- /dev/null
+++ b/dev-db/psqlodbc/Manifest
@@ -0,0 +1,4 @@
+DIST psqlodbc-09.01.0200.tar.gz 749712 SHA256 89c230f5068dcd17d5c6dab37d13ed03525040da534cc7f49564dceba00a9c2c SHA512 6b1ce9efead84c1f5805561c150d5d6d4fba719472e43332987159918762098e1c41822fe804b4c9732e5fcb19beebd9b5f72ef756c021b764d6582f17bf4565 WHIRLPOOL e200c2014c58055a6ee69decea6f9ff92ad1166d2224c714a1634302ea621308e362760527617d2011db8ccaffcf7f35217431f705a9145f65777ee7a788e9e7
+EBUILD psqlodbc-09.01.0200.ebuild 1002 SHA256 61b06f8f6e5928fa0f08826f30eca483deef96b3a8dd06437b82baa68bfe84f7 SHA512 b9ac617bb7a111354efbe4f0737ff322dd0080056b4b6dca47877c6de6df3a25faa4f7fbf9f8618eaf9407216ba7ae26db02ad9c3b72d7bc08b422a168b580b3 WHIRLPOOL a049f7f833b0a327c7bba0410796a7f277c7732f986995270017483ecb329f3afd60c6584730841ab5f0a186f6748b575afce41e6ee076a0b82c4c8a35d5bd6f
+MISC ChangeLog 307 SHA256 38c8df68d5028cf7e31c082bb19651d4b8b141264bc8f2915872a74859035ea2 SHA512 484d1c152dbd5f29982d87071ecc0303feb02d697f4a58bb2278656c850ef0c1704581fe4fdd09502d788798f81fb625cfa5505a5ac407e89b431362ad570681 WHIRLPOOL c481cf5f10ab64f359a89146d791c6571a2d6ef7e4ad83fafba2aea137305cc5e74923e17c1107e4bbd872f79b18d620d5d1d2fcad5bb03811ddf79e6410ad78
+MISC metadata.xml 255 SHA256 a5335604380c6e769a0e1467faa7465591ab89a7ac0dfa3bb4ec44cd4570e9ab SHA512 032e078d2ce474ff407d803344f16152c8c7460c640f90521a76844099c194a84fdde70ab0074ba01cbe807d6c240ea12ab3844c0cc900fce8f5bdcd9fd23fe2 WHIRLPOOL 1645ae3e17406c327b289676ef7124886bcc7e4c5431c7a56f4e505d42156ead51304b535837ced46e1a160f42111e9ee43ca6ff805301a604a40c60f72b6a68
diff --git a/dev-db/psqlodbc/metadata.xml b/dev-db/psqlodbc/metadata.xml
new file mode 100644
index 000000000000..9275f1aa9e94
--- /dev/null
+++ b/dev-db/psqlodbc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>postgresql</herd>
+<use>
+<flag name='iodbc'>Use dev-db/libiodbc. Disable to use dev-db/unixODBC.</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-db/psqlodbc/psqlodbc-09.01.0200.ebuild b/dev-db/psqlodbc/psqlodbc-09.01.0200.ebuild
new file mode 100644
index 000000000000..2f3a5a21885c
--- /dev/null
+++ b/dev-db/psqlodbc/psqlodbc-09.01.0200.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/psqlodbc/psqlodbc-09.01.0200.ebuild,v 1.1 2012/11/28 20:55:25 titanofold Exp $
+
+EAPI="4"
+
+inherit multilib versionator
+
+MY_MAJOR=$(get_major_version)
+MY_MINOR=$(get_version_component_range 2)
+PGSLOT="${MY_MAJOR#0}.${MY_MINOR#0}"
+
+DESCRIPTION="Official ODBC driver for PostgreSQL"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/odbc/versions/src/${P}.tar.gz"
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc iodbc ssl threads unicode"
+
+DEPEND="dev-db/postgresql-base:${PGSLOT}
+ !iodbc? ( dev-db/unixODBC )
+ iodbc? ( dev-db/libiodbc )
+ ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf --with-libpq="${EROOT%/}/usr/$(get_libdir)/postgresql-${PGSLOT}/bin/pg_config" \
+ $(use_with iodbc) \
+ $(use_with !iodbc unixodbc) \
+ $(use_enable ssl openssl) \
+ $(use_enable threads pthreads) \
+ $(use_enable unicode)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc readme.txt
+ use doc && dohtml docs/*
+}