From 9399c3d78d5be54fda8f372f8028ac243121720a Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Wed, 27 Dec 2006 19:11:39 +0000 Subject: Added a pecl-pdo-sqlite that uses the system copy instead of sqlite instead of the bundled one. svn path=/; revision=120 --- dev-php5/pecl-pdo-sqlite/ChangeLog | 59 ++++++++++++++++++++++ dev-php5/pecl-pdo-sqlite/Manifest | 16 ++++++ .../files/digest-pecl-pdo-sqlite-1.0.1 | 3 ++ dev-php5/pecl-pdo-sqlite/metadata.xml | 5 ++ .../pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild | 51 +++++++++++++++++++ 5 files changed, 134 insertions(+) create mode 100644 dev-php5/pecl-pdo-sqlite/ChangeLog create mode 100644 dev-php5/pecl-pdo-sqlite/Manifest create mode 100644 dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0.1 create mode 100644 dev-php5/pecl-pdo-sqlite/metadata.xml create mode 100644 dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild diff --git a/dev-php5/pecl-pdo-sqlite/ChangeLog b/dev-php5/pecl-pdo-sqlite/ChangeLog new file mode 100644 index 0000000..523fbbb --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/ChangeLog @@ -0,0 +1,59 @@ +# ChangeLog for dev-php5/pecl-pdo-sqlite +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/ChangeLog,v 1.15 2006/09/29 17:06:40 sebastian Exp $ + +*pecl-pdo-sqlite-1.0.1 (29 Sep 2006) + + 29 Sep 2006; Sebastian Bergmann + +pecl-pdo-sqlite-1.0.1.ebuild: + Version bump for bug #132639. + + 24 Feb 2006; Jeroen Roovers pecl-pdo-sqlite-1.0.ebuild: + Stable on hppa (preparation for bug #119461). + + 25 Jan 2006; Bryan Østergaard pecl-pdo-sqlite-1.0.ebuild: + Marked ~hppa (preparation for bug #119461). + + 22 Jan 2006; Simon Stelling pecl-pdo-sqlite-1.0.ebuild: + stable on amd64 + + 21 Jan 2006; Jason Wever pecl-pdo-sqlite-1.0.ebuild: + Stable on SPARC wrt bug #119457. + + 21 Jan 2006; pecl-pdo-sqlite-1.0.ebuild: + Added ppc keyword. bug 119457 + + 19 Jan 2006; Krzysiek Pawlik + pecl-pdo-sqlite-1.0.ebuild: + Stable on x86. + + 18 Jan 2006; Markus Rothe pecl-pdo-sqlite-1.0.ebuild: + Stable on ppc64; bug #119457 + +*pecl-pdo-sqlite-1.0 (18 Dec 2005) + + 18 Dec 2005; Luca Longinotti -files/config.m4.diff, + -pecl-pdo-sqlite-0.9.ebuild, +pecl-pdo-sqlite-1.0.ebuild: + Sync with overlay, update to version 1.0. + + 19 Nov 2005; Markus Rothe pecl-pdo-sqlite-0.9.ebuild: + Added ~ppc64 keyword; bug #102649 + + 16 Sep 2005; Christian Parpart + pecl-pdo-sqlite-0.9.ebuild: + added to ~amd64 + + 09 Sep 2005; Jason Wever pecl-pdo-sqlite-0.9.ebuild: + Added ~sparc keyword to help fix the broken dependencies of + dev-php/PEAR-Date-1.4.3-r1. + + 06 Sep 2005; Stuart Herbert +files/config.m4.diff: + Replaced corrupted patch file + + 18 Aug 2005; ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-sqlite/Manifest b/dev-php5/pecl-pdo-sqlite/Manifest new file mode 100644 index 0000000..4b31920 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/Manifest @@ -0,0 +1,16 @@ +DIST PDO_SQLITE-1.0.1.tgz 868469 RMD160 341a7f0f4edac0126271fb65c9c286b19998c95d SHA1 5344d1d23a9ad43f0033df3965514bd8282b3787 SHA256 67b3d852fb089f6c3b2f940e1921acbbbc658a30f59069cc32552ddd380f1980 +EBUILD pecl-pdo-sqlite-1.0.1.ebuild 1322 RMD160 ef7dd6b98c3389705b7c84a2f513f2f0d2efcec9 SHA1 bfaadfe0455631d35d3d5507ec227bbc7caf0a54 SHA256 1ae6dac74db8f340c99037c081b53b0065b4edd78a1623224a5da7469f4fdf0f +MD5 d07858c4e5eb706cfd2dae9de725ac25 pecl-pdo-sqlite-1.0.1.ebuild 1322 +RMD160 ef7dd6b98c3389705b7c84a2f513f2f0d2efcec9 pecl-pdo-sqlite-1.0.1.ebuild 1322 +SHA256 1ae6dac74db8f340c99037c081b53b0065b4edd78a1623224a5da7469f4fdf0f pecl-pdo-sqlite-1.0.1.ebuild 1322 +MISC ChangeLog 2050 RMD160 1af366ec4acd0cf3cf896456fb48dd5ac3d97588 SHA1 ec471185fd224091fa1a91d3169bb9a1797a24b7 SHA256 8e6b62174ff37ca6e7f9c8083fc235dc9aef04c66271ab20daa81a8550d60974 +MD5 810dfbd00951b8e3033e2c0e4a59fcca ChangeLog 2050 +RMD160 1af366ec4acd0cf3cf896456fb48dd5ac3d97588 ChangeLog 2050 +SHA256 8e6b62174ff37ca6e7f9c8083fc235dc9aef04c66271ab20daa81a8550d60974 ChangeLog 2050 +MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 +SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 +MD5 8938dd7b0c19a6aa5d73cf344d875f96 files/digest-pecl-pdo-sqlite-1.0.1 241 +RMD160 da68217b3e0cb1181f456ffa1323171c799daeb2 files/digest-pecl-pdo-sqlite-1.0.1 241 +SHA256 22527194c02acc027c2ef5a86e47bfcf414230d1b25b18b8cebf7266b5db51be files/digest-pecl-pdo-sqlite-1.0.1 241 diff --git a/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0.1 b/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0.1 new file mode 100644 index 0000000..672c0be --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0.1 @@ -0,0 +1,3 @@ +MD5 15c55f85b2793aab7be1e073eb9c9b31 PDO_SQLITE-1.0.1.tgz 868469 +RMD160 341a7f0f4edac0126271fb65c9c286b19998c95d PDO_SQLITE-1.0.1.tgz 868469 +SHA256 67b3d852fb089f6c3b2f940e1921acbbbc658a30f59069cc32552ddd380f1980 PDO_SQLITE-1.0.1.tgz 868469 diff --git a/dev-php5/pecl-pdo-sqlite/metadata.xml b/dev-php5/pecl-pdo-sqlite/metadata.xml new file mode 100644 index 0000000..fd3dbe3 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/metadata.xml @@ -0,0 +1,5 @@ + + + + php + diff --git a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild new file mode 100644 index 0000000..e7ca71d --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild,v 1.1 2006/09/29 17:06:40 sebastian Exp $ + +PHP_EXT_NAME="pdo_sqlite" +PHP_EXT_PECL_PKG="PDO_SQLITE" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit php-ext-pecl-r1 + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +DESCRIPTION="PHP Data Objects (PDO) Driver For SQLite Server." +LICENSE="PHP" +SLOT="0" +IUSE="" + +DEPEND="dev-php5/pecl-pdo + =dev-db/sqlite-3*" + +RDEPEND="${DEPEND}" + +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_unpack() { + unpack "${A}" + cd "${S}" + # This is a copy of the sqlite3 sources and a old version + # So we make sure the bundled copy is never used + # https://bugs.gentoo.org/show_bug.cgi?id=159207 + rm -fr sqlite +} + +src_compile() { + my_conf="--with-pdo-sqlite=/usr" + php-ext-source-r1_src_compile +} -- cgit v1.2.3-65-gdbad