diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2007-03-04 20:59:36 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2007-03-04 20:59:36 +0000 |
commit | da79baa0e37b67f82b16aace3f2d5f2077a6a164 (patch) | |
tree | 1eab2d2465fef600cefbca18699e32844a2bcfe0 /dev-php5/pecl-pdo-sqlite | |
parent | added ~ppc64 (diff) | |
download | gentoo-2-da79baa0e37b67f82b16aace3f2d5f2077a6a164.tar.gz gentoo-2-da79baa0e37b67f82b16aace3f2d5f2077a6a164.tar.bz2 gentoo-2-da79baa0e37b67f82b16aace3f2d5f2077a6a164.zip |
Cleanup.
(Portage version: 2.1.2-r13)
Diffstat (limited to 'dev-php5/pecl-pdo-sqlite')
6 files changed, 16 insertions, 86 deletions
diff --git a/dev-php5/pecl-pdo-sqlite/ChangeLog b/dev-php5/pecl-pdo-sqlite/ChangeLog index 273fd3e84ce6..365a4b01bc9c 100644 --- a/dev-php5/pecl-pdo-sqlite/ChangeLog +++ b/dev-php5/pecl-pdo-sqlite/ChangeLog @@ -1,6 +1,11 @@ # 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.16 2006/12/27 21:03:44 betelgeuse Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/ChangeLog,v 1.17 2007/03/04 20:59:36 chtekk Exp $ + + 04 Mar 2007; Luca Longinotti <chtekk@gentoo.org> + -pecl-pdo-sqlite-1.0.ebuild, -pecl-pdo-sqlite-1.0.1.ebuild, + pecl-pdo-sqlite-1.0.1-r1.ebuild: + Cleanup. *pecl-pdo-sqlite-1.0.1-r1 (27 Dec 2006) diff --git a/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0 b/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0 deleted file mode 100644 index 49dfd3e9860c..000000000000 --- a/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5f611f154504a2b7a33db033f3943534 PDO_SQLITE-1.0.tgz 866928 -RMD160 9a98101e0a37a8869118da0cb686c502448d422b PDO_SQLITE-1.0.tgz 866928 -SHA256 448d163b0d9c9952c097a2902952c5730691d3b1a1ef1983bc168e8b98b7011d PDO_SQLITE-1.0.tgz 866928 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 deleted file mode 100644 index 672c0bedba69..000000000000 --- a/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-1.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -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/pecl-pdo-sqlite-1.0.1-r1.ebuild b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1-r1.ebuild index 397f0423432e..4f2492808adb 100644 --- a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1-r1.ebuild +++ b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 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-r1.ebuild,v 1.1 2006/12/27 21:03:44 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1-r1.ebuild,v 1.2 2007/03/04 20:59:36 chtekk Exp $ PHP_EXT_NAME="pdo_sqlite" PHP_EXT_PECL_PKG="PDO_SQLITE" @@ -9,7 +9,8 @@ PHP_EXT_ZENDEXT="no" inherit php-ext-pecl-r1 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +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" @@ -17,7 +18,6 @@ IUSE="" DEPEND="dev-php5/pecl-pdo =dev-db/sqlite-3*" - RDEPEND="${DEPEND}" need_php_by_category @@ -37,15 +37,16 @@ pkg_setup() { } src_unpack() { - unpack "${A}" + 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 + # There is a copy of the sqlite3 sources, so + # we make sure the bundled copy is never used # https://bugs.gentoo.org/show_bug.cgi?id=159207 - rm -fr sqlite + rm -Rf sqlite } src_compile() { + has_php my_conf="--with-pdo-sqlite=/usr" php-ext-source-r1_src_compile } 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 deleted file mode 100644 index f3fcb0f6100a..000000000000 --- a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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="${DEPEND} - dev-php5/pecl-pdo" - -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 -} diff --git a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.ebuild b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.ebuild deleted file mode 100644 index 155845022335..000000000000 --- a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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.ebuild,v 1.10 2006/02/24 13:55:45 jer 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="${DEPEND} - dev-php5/pecl-pdo" - -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 -} |