commit: 7bb53471199780a32fd7afa3b8c58e9ddcbeb9e5 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> AuthorDate: Thu Sep 18 20:32:18 2014 +0000 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> CommitDate: Thu Sep 18 20:32:18 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=7bb53471
Add xcache-3.2.0 release. The released tarball sets version as 3.2.1 so I'm waiting for lighttpd reply. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> --- dev-php/xcache/Manifest | 1 + dev-php/xcache/xcache-3.2.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-php/xcache/Manifest b/dev-php/xcache/Manifest index de2e07f..4c3fccf 100644 --- a/dev-php/xcache/Manifest +++ b/dev-php/xcache/Manifest @@ -1,2 +1,3 @@ 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 +DIST xcache-3.2.0.tar.bz2 148763 SHA256 9692425cbde345e078807fc04fb2f98f0ad0b94864362544378179722d8cd52a SHA512 234d2208cbbc6704360814508e411de58f36370ac0a1abd0179d34e06c919dfe83d0546749eacb8c64bb30b90d0c4d5b279173b8607ba6c079175f4a503703cf WHIRLPOOL 18b7cff1bf5821605992fbea5db8de42fe8847525369551ffb2641c389c97992ec132adf456bffb886ab0403e8752eb5fa3da8d4d71e3145e8c01faa4be6fe93 diff --git a/dev-php/xcache/xcache-3.2.0.ebuild b/dev-php/xcache/xcache-3.2.0.ebuild new file mode 100644 index 0000000..7aa2bfd --- /dev/null +++ b/dev-php/xcache/xcache-3.2.0.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 php5-6" + +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}." +}
