diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2017-12-15 10:21:06 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2017-12-15 10:21:06 -0500 |
commit | b15554dfd0e2dede50e996967cb85ac5f4081d55 (patch) | |
tree | bec8b6c0b432dde95ed985d06110b853f691e52e /dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild | |
parent | dev-libs/libpqxx: Bump to 5.1.1 (diff) | |
download | gentoo-b15554dfd0e2dede50e996967cb85ac5f4081d55.tar.gz gentoo-b15554dfd0e2dede50e996967cb85ac5f4081d55.tar.bz2 gentoo-b15554dfd0e2dede50e996967cb85ac5f4081d55.zip |
dev-db/psqlodbc: Bump to 10.00.0000
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild')
-rw-r--r-- | dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild b/dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild new file mode 100644 index 000000000000..0db49481b159 --- /dev/null +++ b/dev-db/psqlodbc/psqlodbc-10.00.0000.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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="~amd64 ~x86" +IUSE="doc iodbc ssl threads" + +DEPEND="dev-db/postgresql:*[ssl?] + !iodbc? ( dev-db/unixODBC ) + iodbc? ( dev-db/libiodbc ) +" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_with iodbc) \ + $(use_with !iodbc unixodbc) \ + $(use_enable threads pthreads) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc readme.txt + use doc && dodoc docs/*{html,jpg,txt} +} |