summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2005-11-26 23:06:23 +0000
committerLuca Longinotti <chtekk@gentoo.org>2005-11-26 23:06:23 +0000
commite326bd2810ce4fb798aa9cdc1c7bcfe0ab560f8b (patch)
treee19768493deaf1234c32c3ec9f77aa9393885444 /dev-php5/pecl-apc
parentVersion Bump. Removed nls support from this version since it no longer use it. (diff)
downloadgentoo-2-e326bd2810ce4fb798aa9cdc1c7bcfe0ab560f8b.tar.gz
gentoo-2-e326bd2810ce4fb798aa9cdc1c7bcfe0ab560f8b.tar.bz2
gentoo-2-e326bd2810ce4fb798aa9cdc1c7bcfe0ab560f8b.zip
Sync with overlay.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-php5/pecl-apc')
-rw-r--r--dev-php5/pecl-apc/ChangeLog5
-rw-r--r--dev-php5/pecl-apc/Manifest6
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild22
3 files changed, 19 insertions, 14 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog
index a6502e44b839..cf94b5fa6b5f 100644
--- a/dev-php5/pecl-apc/ChangeLog
+++ b/dev-php5/pecl-apc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-php5/pecl-apc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.3 2005/11/19 20:55:26 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.4 2005/11/26 23:06:23 chtekk Exp $
+
+ 26 Nov 2005; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.8.ebuild:
+ Sync with overlay.
19 Nov 2005; Markus Rothe <corsair@gentoo.org> pecl-apc-3.0.8.ebuild:
Added ~ppc64 keyword; bug #102649
diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest
index e4c163c7d9fe..14a4b01589eb 100644
--- a/dev-php5/pecl-apc/Manifest
+++ b/dev-php5/pecl-apc/Manifest
@@ -1,4 +1,4 @@
-MD5 a7a0778fcd948d41531b686bdf4700fd ChangeLog 511
-MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
-MD5 4e3eb7a4f84c081311fdaed26f275571 pecl-apc-3.0.8.ebuild 2182
+MD5 5016f0d86c4a61f3e5404c16323094d1 ChangeLog 607
MD5 66795850fe4fb57f021182ccdd3e3203 files/digest-pecl-apc-3.0.8 57
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 ffae8953c05b656b995a1cfe0bf91d2e pecl-apc-3.0.8.ebuild 2181
diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild
index 68ff5eedc76b..00ee42e33d43 100644
--- a/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild
+++ b/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild
@@ -1,24 +1,25 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild,v 1.3 2005/11/19 20:55:26 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild,v 1.4 2005/11/26 23:06:23 chtekk Exp $
-PHP_EXT_ZENDEXT="no"
-PHP_EXT_PECL_PKG="APC"
PHP_EXT_NAME="apc"
+PHP_EXT_PECL_PKG="APC"
PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
inherit php-ext-pecl-r1 confutils
-IUSE="mmap"
+KEYWORDS="~ppc ~ppc64 ~sparc ~x86"
DESCRIPTION="The Alternative PHP Cache."
-SLOT="0"
LICENSE="PHP"
-KEYWORDS="~ppc ~ppc64 ~sparc ~x86"
-DEPEND="${DEPEND}"
+SLOT="0"
+IUSE="mmap"
need_php_by_category
pkg_setup() {
+ has_php
+
require_php_sapi_from cgi apache apache2
}
@@ -38,12 +39,13 @@ src_compile() {
enable_extension_enable "apc-mmap" "mmap" 0
enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2"
enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1"
+
php-ext-pecl-r1_src_compile
}
src_install() {
php-ext-pecl-r1_src_install
- dodoc CHANGELOG INSTALL LICENSE NOTICE
+ dodoc-php CHANGELOG INSTALL LICENSE NOTICE
php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
@@ -58,8 +60,8 @@ src_install() {
php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
- dodir ${PHP_EXT_SHARED_DIR}
- insinto ${PHP_EXT_SHARED_DIR}
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
doins apc.php
}