--- /dev/null
+DIST xcache-1.2.0.tar.bz2 79153 RMD160 1d77af20e117e7bebc939448500e7c7703028178 SHA1 f7f2f4082c41545909793d8e86918e2845cf82f2 SHA256 808d3a99ad584a52590504d26f272cd7235da3acb66bc67ed4e8387d1ab4ff02
+EBUILD xcache-1.2.0.ebuild 2377 RMD160 47fe9c025dceb53c624dffb9e2736dcaf57d9558 SHA1 db1386fdc008fd64bca7ae3464a123f58611e374 SHA256 a3c4f6dc63efb1f6661bddb22f7b852246705b14bc0a487b0b4aeb07f412526d
+MD5 ecace65cccab959c03a24b5ae1e49e03 xcache-1.2.0.ebuild 2377
+RMD160 47fe9c025dceb53c624dffb9e2736dcaf57d9558 xcache-1.2.0.ebuild 2377
+SHA256 a3c4f6dc63efb1f6661bddb22f7b852246705b14bc0a487b0b4aeb07f412526d xcache-1.2.0.ebuild 2377
+MISC ChangeLog 345 RMD160 6a754ab7ee4e357778a6b3c5139e1315e8afdf15 SHA1 c22a58c54c0c7ad0e5fa76fa5595ddf35e7b5dea SHA256 e4fe68f8e2aabaee4258bfd0e5feb61d3f1c465b179b9221b490df7e73d19cfb
+MD5 dd34d20b7f4dd9902f1ddbaf7e1c7aca ChangeLog 345
+RMD160 6a754ab7ee4e357778a6b3c5139e1315e8afdf15 ChangeLog 345
+SHA256 e4fe68f8e2aabaee4258bfd0e5feb61d3f1c465b179b9221b490df7e73d19cfb ChangeLog 345
+MISC metadata.xml 352 RMD160 ff3f21c39b31a05abfd966604029a9a061bf0242 SHA1 3e4e27ceadfa1eaca7ef463ceecda1f1039ff7e3 SHA256 b1a80a2c4138ef0ed1a66ce04aa5e1e89961bd5500babefe63f850099a6cd9b5
+MD5 900d0c809069637069e9839d3b15e6df metadata.xml 352
+RMD160 ff3f21c39b31a05abfd966604029a9a061bf0242 metadata.xml 352
+SHA256 b1a80a2c4138ef0ed1a66ce04aa5e1e89961bd5500babefe63f850099a6cd9b5 metadata.xml 352
+MD5 6a5890ac030be8fadd4c8942daf29bb1 files/digest-xcache-1.2.0 238
+RMD160 da5d7354390c4b03b798ab49254b01b6146a9304 files/digest-xcache-1.2.0 238
+SHA256 d4dc06e38dd654a82ad831acfce3e440d828eb2164e57c50eca9fd2f946b8645 files/digest-xcache-1.2.0 238
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/xcache/xcache-1.2.0.ebuild,v 1.1 2007/03/06 14:24:36 chtekk Exp $
+
+PHP_EXT_NAME="xcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="yes"
+
+inherit php-ext-source-r1 confutils
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Another PHP opcode cache and encoder."
+HOMEPAGE="http://trac.lighttpd.net/xcache/"
+SRC_URI="http://210.51.190.228/pub/XCache/Releases/${P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="!dev-php5/pecl-apc
+ !dev-php5/eaccelerator"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+need_php_by_category
+
+pkg_setup() {
+ has_php
+ require_php_sapi_from cgi apache 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"
+ enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1"
+
+ 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.optimizer" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.coverager" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
+
+ 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 /usr/share/php4/xcache/."
+}