forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
1 parent
25e98d7
commit 2906505
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST psqlodbc-09.06.0200.tar.gz 887807 SHA256 aaa44027f98478635b4ab512a4f90c1aaf56a710276a482b3b0ef6740e20e415 SHA512 d8e3b6c13e657b4a3435ace94e6e1265a5a1a7bcd3a1f81348ca4edcb532b66036e3595ecd7224d3104f6a3f2e02704f73c1b62d94e9879528933edef7764552 WHIRLPOOL 398386f79928e65d29a493fa7d293e9adf2e6352c95c21d9e474675f0a5562128f7f514c834f444659222ebabc84402e5b9abc7a4832728468eb6e4b79c0e609 | ||
DIST psqlodbc-09.06.0300.tar.gz 898065 SHA256 8033061fdbd27a2a2f7b97fd29d3618ac0dcb68f99dca4bad9bc56d2fc1d0c02 SHA512 c7e31138888307bd25ff80c0796deb653a1e8f57af85ff91f9f307c2b3b683d9d8bc4b18a837dc604a9f896f85ee489a6678a2a69782258b17bdb9d2911e968c WHIRLPOOL ceb5b0d315054de3ba90b6523a68913e91963f0aa9175697e02731ab5811214bbc77dacb139a9b57cc8828ec17a8aed2238203872fc3c82af4f0050aafceea32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} | ||
} |