Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 431716
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +13 lines)
Line  Link Here
0
-- pecl-memcache-3.0.6-r1.ebuild       2012-08-17 17:27:00.282604867 +0800
0
++ pecl-memcache-9999.ebuild   2012-08-17 17:06:16.101605013 +0800
Lines 10-20 Link Here
10
USE_PHP="php5-3 php5-4"
10
USE_PHP="php5-3 php5-4"
11
inherit php-ext-pecl-r2
11
inherit php-ext-source-r2 subversion
12
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
12
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
13
DESCRIPTION="PHP extension for using memcached."
13
DESCRIPTION="PHP extension for using memcached."
14
ESVN_REPO_URI="https://svn.php.net/repository/pecl/memcache/trunk/"
15
ESVN_PROJECT="${PN}"
14
LICENSE="PHP-3"
16
LICENSE="PHP-3"
15
SLOT="0"
17
SLOT="0"
16
IUSE="+session"
18
IUSE="+session"
Lines 26-38 Link Here
26
# upstream does not ship any testsuite, so the PHPize test-runner fails.
28
# upstream does not ship any testsuite, so the PHPize test-runner fails.
27
RESTRICT='test'
29
RESTRICT='test'
30
src_unpack() {
31
       subversion_src_unpack
32
}
33
34
src_prepare() {
35
       php-ext-source-r2_src_prepare
36
}
37
28
src_configure() {
38
src_configure() {
29
       my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
39
       my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
30
       php-ext-source-r2_src_configure
40
       php-ext-source-r2_src_configure
31
}
41
}
32
src_install() {
42
src_install() {
33
       php-ext-pecl-r2_src_install
43
       php-ext-source-r2_src_install
34
       php-ext-source-r2_addtoinifiles "memcache.allow_failover" "true"
44
       php-ext-source-r2_addtoinifiles "memcache.allow_failover" "true"
35
       php-ext-source-r2_addtoinifiles "memcache.max_failover_attempts" "20"
45
       php-ext-source-r2_addtoinifiles "memcache.max_failover_attempts" "20"

Return to bug 431716