commit:     2f22f79f056a56ccd6634ae094277c09446dbb3f
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo 
<DOT> org>
AuthorDate: Thu Sep 18 20:14:49 2014 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 20:14:49 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=2f22f79f

Add dev-php/xcache to my overlay and bump to the 3.0.4 and 3.1.2 releases.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> 
gentoo.org>

---
 dev-php/xcache/Manifest            |  2 ++
 dev-php/xcache/metadata.xml        |  8 +++++
 dev-php/xcache/xcache-3.0.4.ebuild | 59 +++++++++++++++++++++++++++++++++++++
 dev-php/xcache/xcache-3.1.2.ebuild | 60 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 129 insertions(+)

diff --git a/dev-php/xcache/Manifest b/dev-php/xcache/Manifest
new file mode 100644
index 0000000..de2e07f
--- /dev/null
+++ b/dev-php/xcache/Manifest
@@ -0,0 +1,2 @@
+DIST xcache-3.0.4.tar.bz2 142844 SHA256 
447baab727b6b0d2955e10ce117f55d9a63d306def78c34837b4ff3d6c586a4e SHA512 
99c7756e100ff844e8e995a1909e0bb66330631f208ac28b5008f172c19a98cd3e126481c6a8f35cff70d3360902ddd799a5aa6fb0148a2d3b462a52ca7e1fa0
 WHIRLPOOL 
2a2153f8e3240b6bca6287939f6bec3a4e1a539b81383d0f298944da4014c5b7c5be15e6f354c798f30c3a74d0b5ba49ea72b8185f89a8e2a0349f2f8a84df1a
+DIST xcache-3.1.2.tar.bz2 146408 SHA256 
84cf9b38710c51aabd28987632999cae99f7869d4cb056752ed901a262fef98f SHA512 
1ed32b5e781d2bcf32e15481b6277657701b1a0cb1f8ef96852cbe1f0c8621c1ffaa550920cb06b93f9f51b31d18bcfc49c477defcf558fea167a8eab4266b2a
 WHIRLPOOL 
e697552aad67d9a270cb5dc2628c8f47e99311ac787226c76c4044191c21e15797ce79341f8b39ef3ba5680fb8dc26ccd74e42d1a3fb44926c74b566cd3cea6f

diff --git a/dev-php/xcache/metadata.xml b/dev-php/xcache/metadata.xml
new file mode 100644
index 0000000..41f3022
--- /dev/null
+++ b/dev-php/xcache/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer>
+       <email>[email protected]</email>
+       <name>Jorge Manuel B. S. Vicetto</name>
+</maintainer>
+</pkgmetadata>

diff --git a/dev-php/xcache/xcache-3.0.4.ebuild 
b/dev-php/xcache/xcache-3.0.4.ebuild
new file mode 100644
index 0000000..dd74fa8
--- /dev/null
+++ b/dev-php/xcache/xcache-3.0.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/xcache-3.0.3-r1.ebuild,v 1.2 
2013/08/25 02:46:00 patrick Exp $
+
+EAPI="5"
+
+PHP_EXT_NAME="xcache"
+PHP_EXT_INI="yes"
+PHPSAPILIST="apache2 cgi fpm"
+USE_PHP="php5-4"
+
+inherit php-ext-source-r2 confutils
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# make test would just run php's test and as such need the full php source
+RESTRICT="test"
+
+DEPEND="
+       !dev-php/eaccelerator
+       !dev-php/pecl-apc
+       virtual/httpd-php
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+
+       my_conf="--enable-xcache=shared   \
+                       --enable-xcache-constant  \
+                       --enable-xcache-optimizer \
+                       --enable-xcache-coverager \
+                       --enable-xcache-assembler \
+                       --enable-xcache-encoder   \
+                       --enable-xcache-decoder"
+
+       php-ext-source-r2_src_configure
+}
+
+src_install() {
+       php-ext-source-r2_src_install
+       dodoc AUTHORS ChangeLog NEWS README THANKS
+
+       insinto "${PHP_EXT_SHARED_DIR}"
+       doins lib/Decompiler.class.php
+       insinto "${PHP_EXT_SHARED_DIR}"
+       doins -r htdocs
+}
+
+pkg_postinst() {
+       elog "lib/Decompiler.class.php, and the htdocs/ directory shipped with 
this"
+       elog "release were installed into ${PHP_EXT_SHARED_DIR}."
+}

diff --git a/dev-php/xcache/xcache-3.1.2.ebuild 
b/dev-php/xcache/xcache-3.1.2.ebuild
new file mode 100644
index 0000000..913948e
--- /dev/null
+++ b/dev-php/xcache/xcache-3.1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/xcache-3.0.3-r1.ebuild,v 1.2 
2013/08/25 02:46:00 patrick Exp $
+
+EAPI="5"
+
+PHP_EXT_NAME="xcache"
+PHP_EXT_INI="yes"
+PHPSAPILIST="apache2 cgi fpm"
+USE_PHP="php5-4 php5-5"
+
+inherit php-ext-source-r2 confutils
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# make test would just run php's test and as such need the full php source
+RESTRICT="test"
+
+DEPEND="
+       !dev-php/eaccelerator
+       !dev-php/pecl-apc
+       virtual/httpd-php
+       php_targets_php5-5? ( !dev-lang/php:5.5[opcache] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+
+       my_conf="--enable-xcache=shared   \
+                       --enable-xcache-constant  \
+                       --enable-xcache-optimizer \
+                       --enable-xcache-coverager \
+                       --enable-xcache-assembler \
+                       --enable-xcache-encoder   \
+                       --enable-xcache-decoder"
+
+       php-ext-source-r2_src_configure
+}
+
+src_install() {
+       php-ext-source-r2_src_install
+       dodoc AUTHORS ChangeLog NEWS README THANKS
+
+       insinto "${PHP_EXT_SHARED_DIR}"
+       doins lib/Decompiler.class.php
+       insinto "${PHP_EXT_SHARED_DIR}"
+       doins -r htdocs
+}
+
+pkg_postinst() {
+       elog "lib/Decompiler.class.php, and the htdocs/ directory shipped with 
this"
+       elog "release were installed into ${PHP_EXT_SHARED_DIR}."
+}

Reply via email to