blob: b3bfe40c5599d4a6fae74fad21f49ea59ad6463a (
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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PECL-sqlite/PECL-sqlite-1.0.ebuild,v 1.3 2004/01/24 17:14:34 coredumb Exp $
PHP_EXT_ZENDEXT="no"
PHP_EXT_NAME="sqlite"
PHP_EXT_INI="yes"
inherit php-ext-source
DEPEND="${DEPEND} >=dev-db/sqlite-2.8.5 !dev-php/sqlite-php"
IUSE=""
DESCRIPTION="PHP bindings for the SQLite database engine"
HOMEPAGE="http://pear.php.net/SQLite"
SLOT="0"
MY_PN="SQLite"
SRC_URI="http://pear.php.net/get/${MY_PN}-${PV}.tgz"
S=${WORKDIR}/${MY_PN}-${PV}
LICENSE="PHP"
KEYWORDS="~x86 ~ppc ~alpha ~sparc"
src_compile() {
#use the external library, not the bundled one
myconf="${myconf} --with-sqlite=/usr"
php-ext-source_src_compile
}
src_install() {
php-ext-source_src_install
dodoc CREDITS README TODO
}
|