blob: 38abc707739ab00b8dd99e1566913ffd2c56db59 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cvs/php-cvs-5.0-r1.ebuild,v 1.2 2003/09/08 04:45:56 msterret Exp $
ECVS_SERVER="cvs.php.net:/repository"
ECVS_MODULE="php5"
ECVS_USER="cvsread"
ECVS_PASS="phpfi"
ECVS_AUTH="pserver"
ECVS_BRANCH=""
PHPSAPI="cli"
inherit php cvs
MY_P=php-${PV}
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="PHP Shell Interpreter - development version"
SRC_URI=""
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
DEPEND="${DEPEND}
>=dev-util/re2c-0.9.1"
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
./buildconf
myconf="${myconf} --enable-embed"
myconf="${myconf} --disable-cgi --enable-cli"
php_src_compile
}
src_install() {
php_src_install
exeinto /usr/bin
doexe sapi/cli/php
docinto Zend
dodoc Zend/ZEND_CHANGES Zend/ChangeLog Zend/OBJECTS2_HOWTO
}
pkg_postinst() {
einfo "This is a CLI only build."
einfo "You can not use it on a webserver."
}
|