summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2008-06-03 03:26:27 +0000
committerLuca Longinotti <chtekk@gentoo.org>2008-06-03 03:26:27 +0000
commit849fa201c6a5f975da2779622ffcc7694ae1b934 (patch)
tree4710a32341ba6aaf5d37c0c99c3f9d4c71f54783 /dev-php5
parentFix syntax error (bug #224699). (diff)
downloadgentoo-2-849fa201c6a5f975da2779622ffcc7694ae1b934.tar.gz
gentoo-2-849fa201c6a5f975da2779622ffcc7694ae1b934.tar.bz2
gentoo-2-849fa201c6a5f975da2779622ffcc7694ae1b934.zip
Remove old.
(Portage version: 2.2_pre7-r1/cvs/Linux 2.6.24-gentoo-r4 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz)
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/xcache/ChangeLog5
-rw-r--r--dev-php5/xcache/xcache-1.2.1.ebuild78
2 files changed, 4 insertions, 79 deletions
diff --git a/dev-php5/xcache/ChangeLog b/dev-php5/xcache/ChangeLog
index c93e177a4b7e..9f91de623718 100644
--- a/dev-php5/xcache/ChangeLog
+++ b/dev-php5/xcache/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-php5/xcache
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.15 2008/03/08 19:42:07 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.16 2008/06/03 03:26:27 chtekk Exp $
+
+ 03 Jun 2008; Luca Longinotti <chtekk@gentoo.org> -xcache-1.2.1.ebuild:
+ Remove old.
08 Mar 2008; <pva@gentoo.org> xcache-1.2.2.ebuild:
amd64 stable.
diff --git a/dev-php5/xcache/xcache-1.2.1.ebuild b/dev-php5/xcache/xcache-1.2.1.ebuild
deleted file mode 100644
index b30bcac73cde..000000000000
--- a/dev-php5/xcache/xcache-1.2.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.2.1.ebuild,v 1.4 2007/09/07 12:10:43 angelos Exp $
-
-PHP_EXT_NAME="xcache"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="yes"
-
-inherit php-ext-source-r1 confutils
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="A fast and stable PHP opcode cacher"
-HOMEPAGE="http://xcache.lighttpd.net/"
-SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-# make test would just run php's test and as such need the full php source
-RESTRICT="test"
-
-DEPEND="!dev-php5/eaccelerator !dev-php5/pecl-apc"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-pkg_setup() {
- has_php
- require_php_sapi_from cgi apache2
-}
-
-src_compile() {
- has_php
-
- my_conf="--enable-xcache=shared \
- --enable-xcache-constant \
- --enable-xcache-optimizer \
- --enable-xcache-coverager \
- --enable-xcache-assembler \
- --enable-xcache-encoder \
- --enable-xcache-decoder"
-
- enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2"
-
- php-ext-source-r1_src_compile
-}
-
-src_install() {
- php-ext-source-r1_src_install
- dodoc-php AUTHORS ChangeLog INSTALL COPYING
-
- php-ext-base-r1_addtoinifiles "auto_globals_jit" '"0"'
- php-ext-base-r1_addtoinifiles "xcache.cacher" '"1"'
- php-ext-base-r1_addtoinifiles "xcache.size" '"10M"'
- php-ext-base-r1_addtoinifiles "xcache.count" '"2"'
- php-ext-base-r1_addtoinifiles "xcache.slots" '"8k"'
- php-ext-base-r1_addtoinifiles "xcache.var_size" '"0"'
- php-ext-base-r1_addtoinifiles "xcache.var_count" '"1"'
- php-ext-base-r1_addtoinifiles "xcache.readonly_protection" '"0"'
- php-ext-base-r1_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
- php-ext-base-r1_addtoinifiles "xcache.stat" '"1"'
- php-ext-base-r1_addtoinifiles "xcache.coverager" '"0"'
- php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
- php-ext-base-r1_addtoinifiles "xcache.admin.enable_auth" '"1"'
-
- dodir "${PHP_EXT_SHARED_DIR}"
- insinto "${PHP_EXT_SHARED_DIR}"
- doins Decompiler.class.php
- dodir "${PHP_EXT_SHARED_DIR}/admin"
- insinto "${PHP_EXT_SHARED_DIR}/admin"
- doins admin/*
-}
-
-pkg_postinst() {
- elog "Decompiler.class.php and the admin/ directory shipped with this"
- elog "release were installed into ${ROOT}usr/share/php5/xcache/."
-}