summaryrefslogtreecommitdiffstats
path: root/dev-php/pecl-sqlite/pecl-sqlite-1.0.3.ebuild
blob: fd2627407dce641d23b39bd15ed127d775da62ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PECL-sqlite/Attic/PECL-sqlite-1.0.3.ebuild,v 1.7 2006/05/21 01:53:28 chtekk dead $

EAPI=6

PHP_EXT_ZENDEXT="no"
PHP_EXT_INI="yes"
PHP_EXT_PECL_PKG="SQLite"
PHP_EXT_NAME="sqlite"
USE_PHP="php5-6 php5-5 php5-4"

inherit php-ext-pecl-r3

DEPEND="${DEPEND} !dev-php/sqlite-php"

IUSE=""
DESCRIPTION="PHP bindings for the SQLite database engine"
HOMEPAGE="http://pear.php.net/SQLite"
SLOT="0"
LICENSE="PHP"
KEYWORDS="alpha amd64 ~ia64 ppc ~sparc x86"

src_prepare() {
    local slot
    for slot in $(php_get_slots); do
    	php_init_slot_env ${slot}
	epatch "${FILESDIR}"/sqlite-svn.patch
    done

    php-ext-source-r2_src_prepare 
}