diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:48:08 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:48:08 +0000 |
commit | 8551e1617059d05a9878a650bb243cf050a120d2 (patch) | |
tree | 40398285762ac8681ffbe97a4edc0c23a69d9cef /dev-php5/pecl-pdo-pgsql | |
parent | Initial import for PHP5 (diff) | |
download | gentoo-2-8551e1617059d05a9878a650bb243cf050a120d2.tar.gz gentoo-2-8551e1617059d05a9878a650bb243cf050a120d2.tar.bz2 gentoo-2-8551e1617059d05a9878a650bb243cf050a120d2.zip |
Initial import for PHP5
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-php5/pecl-pdo-pgsql')
-rw-r--r-- | dev-php5/pecl-pdo-pgsql/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-pgsql/Manifest | 4 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 | 1 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-pgsql/metadata.xml | 5 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild | 41 |
5 files changed, 58 insertions, 0 deletions
diff --git a/dev-php5/pecl-pdo-pgsql/ChangeLog b/dev-php5/pecl-pdo-pgsql/ChangeLog new file mode 100644 index 000000000000..1309772e006a --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-pgsql +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-pgsql/ChangeLog,v 1.1 2005/09/04 16:46:04 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-pgsql/Manifest b/dev-php5/pecl-pdo-pgsql/Manifest new file mode 100644 index 000000000000..afd6481cfa5d --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 37291f58dc9ab667c17410421f1636f1 ChangeLog 224 +MD5 0a0162d02b0434c2c2400db0b2699b20 pecl-pdo-pgsql-0.9.ebuild 923 +MD5 aaac3c00f864fff5c076a0b64d9ff739 files/digest-pecl-pdo-pgsql-0.9 61 diff --git a/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 b/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 new file mode 100644 index 000000000000..5b5b3bf45028 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 @@ -0,0 +1 @@ +MD5 026cc438beb0d85f93e387fd646b45ef PDO_PGSQL-0.9.tgz 11447 diff --git a/dev-php5/pecl-pdo-pgsql/metadata.xml b/dev-php5/pecl-pdo-pgsql/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/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>php</herd> +</pkgmetadata> diff --git a/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild b/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild new file mode 100644 index 000000000000..1ba8c5367d59 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild,v 1.1 2005/09/04 16:46:04 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_PGSQL" +PHP_EXT_NAME="pdo_pgsql" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For PostgreSQL Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/postgresql" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-pgsql" + php-ext-pecl-r1_src_compile +} |