# ChangeLog for dev-php4/pecl-sqlite
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-sqlite/ChangeLog,v 1.16 2007/03/04 18:30:25 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-sqlite/ChangeLog,v 1.17 2007/03/04 21:01:55 chtekk Exp $
+
+ 04 Mar 2007; Luca Longinotti <chtekk@gentoo.org> pecl-sqlite-1.0.3.ebuild:
+ Remove bundled sqlite.
04 Mar 2007; Luca Longinotti <chtekk@gentoo.org> pecl-sqlite-1.0.3.ebuild:
Cleanup, use external libsqlite2 to avoid problems.
DIST SQLite-1.0.3.tgz 371189 RMD160 681928ec360b5fe3e7cdcecc5ff88491f5547428 SHA1 338333183875deb74956b37a8d58e2659d47a501 SHA256 19edf52557c75a764e021d60414fe4ce347cbdab55377d4aafbecb30785d79a5
-EBUILD pecl-sqlite-1.0.3.ebuild 655 RMD160 ef85e925914899d2596b6772798675a3e8b9597e SHA1 eeaf0c4185087ca9a1bd32aa55c635bfda9b98e5 SHA256 be66371a9b349c06be1c524fad8f58c240252d06636d5621ab65a11f555df3c7
-MD5 dc6eab3102b68f71da4c1948169e7def pecl-sqlite-1.0.3.ebuild 655
-RMD160 ef85e925914899d2596b6772798675a3e8b9597e pecl-sqlite-1.0.3.ebuild 655
-SHA256 be66371a9b349c06be1c524fad8f58c240252d06636d5621ab65a11f555df3c7 pecl-sqlite-1.0.3.ebuild 655
-MISC ChangeLog 1970 RMD160 2695c10f27c22c39594e59f86221dec90a348706 SHA1 38b63fb5f94c3d24fee244a3eac0d88e630fc7b6 SHA256 5d89cf6075bedc7cfb98c4e6c3cb390d19bedfd4c95e120050dcd394092554b7
-MD5 31269c7896963b09fc95022b82b12141 ChangeLog 1970
-RMD160 2695c10f27c22c39594e59f86221dec90a348706 ChangeLog 1970
-SHA256 5d89cf6075bedc7cfb98c4e6c3cb390d19bedfd4c95e120050dcd394092554b7 ChangeLog 1970
+EBUILD pecl-sqlite-1.0.3.ebuild 858 RMD160 6d5e924d484d8b03a32b8045dbc176e58f0da1ba SHA1 da1c2a9f9158f4838383513dccf60493e437397c SHA256 5ba72069154bb2fe8e0ef0ff628cd6c9762106886f3664b0b7d21b73a9a89272
+MD5 9a5d62ceca62a40ad61501d2f4ad0ea2 pecl-sqlite-1.0.3.ebuild 858
+RMD160 6d5e924d484d8b03a32b8045dbc176e58f0da1ba pecl-sqlite-1.0.3.ebuild 858
+SHA256 5ba72069154bb2fe8e0ef0ff628cd6c9762106886f3664b0b7d21b73a9a89272 pecl-sqlite-1.0.3.ebuild 858
+MISC ChangeLog 2073 RMD160 d669d913535ee50476d57a2b123931aee1a6a901 SHA1 9beb56d805aea5dbcafcf03e42dfe85876fae325 SHA256 c485ca1fec7ed56e88307c9e88dd7171627017008b97f5be3b4851595cdf78e6
+MD5 07f0005f2ed0dbe0ef808196f0d41691 ChangeLog 2073
+RMD160 d669d913535ee50476d57a2b123931aee1a6a901 ChangeLog 2073
+SHA256 c485ca1fec7ed56e88307c9e88dd7171627017008b97f5be3b4851595cdf78e6 ChangeLog 2073
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild,v 1.20 2007/03/04 18:30:25 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild,v 1.21 2007/03/04 21:01:55 chtekk Exp $
PHP_EXT_NAME="sqlite"
PHP_EXT_PECL_PKG="SQLite"
need_php_by_category
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # There is a copy of the sqlite2 sources, so
+ # we make sure the bundled copy is never used
+ # https://bugs.gentoo.org/show_bug.cgi?id=159207
+ rm -Rf libsqlite
+}
+
src_compile() {
has_php
my_conf="--with-sqlite=/usr"