summaryrefslogtreecommitdiff
path: root/dev-perl/DBD-Pg
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/DBD-Pg')
-rw-r--r--dev-perl/DBD-Pg/DBD-Pg-3.5.3.ebuild45
-rw-r--r--dev-perl/DBD-Pg/Manifest1
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-perl/DBD-Pg/DBD-Pg-3.5.3.ebuild b/dev-perl/DBD-Pg/DBD-Pg-3.5.3.ebuild
new file mode 100644
index 00000000000..4fac94093d3
--- /dev/null
+++ b/dev-perl/DBD-Pg/DBD-Pg-3.5.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=TURNSTEP
+inherit perl-module
+
+DESCRIPTION="PostgreSQL database driver for the DBI module"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="
+ virtual/perl-version
+ >=dev-perl/DBI-1.614.0
+ dev-db/postgresql
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+# testcases require a local database with an
+# open password for the postgres user.
+DIST_TEST="skip"
+
+src_prepare() {
+ postgres_include="$(readlink -f "${EPREFIX}"/usr/include/postgresql)"
+ postgres_lib="${postgres_include//include/lib}"
+ # Fall-through case is the non-split postgresql
+ # The active cases instead get us the matching libdir for the includedir.
+ for i in lib lib64 ; do
+ if [ -d "${postgres_lib}/${i}" ]; then
+ postgres_lib="${postgres_lib}/${i}"
+ break
+ fi
+ done
+
+ # env variables for compilation:
+ export POSTGRES_INCLUDE="${postgres_include}"
+ export POSTGRES_LIB="${postgres_lib}"
+ perl-module_src_prepare
+}
diff --git a/dev-perl/DBD-Pg/Manifest b/dev-perl/DBD-Pg/Manifest
index 2ad0cb1cd21..7cc549525e1 100644
--- a/dev-perl/DBD-Pg/Manifest
+++ b/dev-perl/DBD-Pg/Manifest
@@ -1,3 +1,4 @@
DIST DBD-Pg-2.19.3.tar.gz 237399 SHA256 37350d134b7fa88fb3b9432d92991e0a73f405bf5b3a4ee53430439280b8262a SHA512 e1183fda7abcd2ee05491fe269172e5fb09dba6cb329c6f6f1a5abb9dc9a98c414a0b67f3465b938b197bbe34e3ebc9ec6a4e810e1f9e2316753845ac5416fec WHIRLPOOL 427b1705a3d8e69032b2db5d7ad1d1c6de6353c44b5b6294352abfb28f100f2f572356a2402e285bfbb373384bff18fef7355c545ceb21fbffea07d5de75ec24
DIST DBD-Pg-3.3.0.tar.gz 251408 SHA256 52f43de5b2d916d447d7ed252b127f728b226dc88db57d4fe9712e21d3586ffe SHA512 eb8fbc2e9ad3a846ee4ee580ad2d18cb99b8df48b1c30595d0ffc6ab6e0ff91c36f61e98120968285bd3818f0e565a43189066eda8f93a2972e1df3258ed4f8e WHIRLPOOL b0143c95422ca7e8566b7bf7b63ff8d83e5304a0a83b93a5acff30a3d2140243fb580fa36ac70aeebf8226d7990d56fd85b0ae942310944c21564b7b933b662a
DIST DBD-Pg-3.4.2.tar.gz 253346 SHA256 7b76930cec143b90a068e1e64a3beb6f640c10b22d0a41f9a032516683892f24 SHA512 290f8e19d6920c1a514305a943ec4f63da14dd321e93a6e9cc4f6fce6737f308a3931135ec9ed0d4577f1ab97358106ca2def7ccb28a7c5c169a80ca5cda1d85 WHIRLPOOL a177efa5cd07c3064528329a9be72cd464671e55ac19ec564b75f8fe5e757c960a89d83d09a65e7e327bb88d9322465c0cdc320ddb33eb85a59bb29c9fe1dfbe
+DIST DBD-Pg-3.5.3.tar.gz 256570 SHA256 7e98a9b975256a4733db1c0e974cad5ad5cb821489323e395ed97bd058e0a90e SHA512 7a564e5c86fa41719289f6e391f0cd39f01df7d088892fca11175c60fec8a3af884f9204ae834caac2024ff0d45dcc013e314ec0c09a07fe7ee76170ec3a634f WHIRLPOOL 6f4091284c2c91b8c2126e06a2727b65e672db91ce5f265841ef3c02b977f48712e84ad013980bbe4a2e127f5003906bf315d7b6a86787440a9cc6688aa14cd8