Lines 8-22
Link Here
|
8 |
PHP_EXT_INI="yes" |
8 |
PHP_EXT_INI="yes" |
9 |
PHP_EXT_ZENDEXT="no" |
9 |
PHP_EXT_ZENDEXT="no" |
10 |
|
10 |
|
|
|
11 |
EGIT_REPO_URI="https://github.com/eaccelerator/eaccelerator.git" |
11 |
[[ -z "${EACCELERATOR_CACHEDIR}" ]] && EACCELERATOR_CACHEDIR="/var/cache/eaccelerator-php5/" |
12 |
[[ -z "${EACCELERATOR_CACHEDIR}" ]] && EACCELERATOR_CACHEDIR="/var/cache/eaccelerator-php5/" |
12 |
|
13 |
|
13 |
inherit php-ext-source-r2 eutils depend.apache user |
14 |
inherit php-ext-source-r2 eutils depend.apache user git-2 |
14 |
|
15 |
|
15 |
KEYWORDS="amd64 x86" |
16 |
KEYWORDS="~amd64 ~x86" |
16 |
|
17 |
|
17 |
DESCRIPTION="A PHP Accelerator & Encoder." |
18 |
DESCRIPTION="A PHP Accelerator & Encoder." |
18 |
HOMEPAGE="http://www.eaccelerator.net/" |
19 |
HOMEPAGE="http://www.eaccelerator.net/" |
19 |
SRC_URI="http://bart.eaccelerator.net/source/${PV}/${P}.tar.bz2" |
|
|
20 |
LICENSE="GPL-2" |
20 |
LICENSE="GPL-2" |
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
IUSE="debug disassembler inode doccommentinclusion session" |
22 |
IUSE="debug disassembler inode doccommentinclusion session" |
Lines 52-62
Link Here
|
52 |
fi |
52 |
fi |
53 |
} |
53 |
} |
54 |
|
54 |
|
55 |
src_prepare() { |
|
|
56 |
epatch "${FILESDIR}/eaccelerator-openbasedir.patch" |
57 |
php-ext-source-r2_src_prepare |
58 |
} |
59 |
|
60 |
src_configure() { |
55 |
src_configure() { |
61 |
my_conf="--enable-eaccelerator=shared --with-eaccelerator-userid=`id -u ${HTTPD_USER}`" |
56 |
my_conf="--enable-eaccelerator=shared --with-eaccelerator-userid=`id -u ${HTTPD_USER}`" |
62 |
use debug && my_conf="${my_conf} --with-eaccelerator-debug" |
57 |
use debug && my_conf="${my_conf} --with-eaccelerator-debug" |