diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/xcache |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/xcache')
-rw-r--r-- | dev-php/xcache/Manifest | 5 | ||||
-rw-r--r-- | dev-php/xcache/metadata.xml | 15 | ||||
-rw-r--r-- | dev-php/xcache/xcache-3.2.0-r2.ebuild | 62 |
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-php/xcache/Manifest b/dev-php/xcache/Manifest new file mode 100644 index 000000000000..275c6a70017d --- /dev/null +++ b/dev-php/xcache/Manifest @@ -0,0 +1,5 @@ +DIST xcache-3.2.0.tar.bz2 148392 SHA256 7d12a3cbd5f729b70f9226ac19406d11219f1c5f5e82b3bbb43ea9460cbf6cbd SHA512 9d7bec73ac941c8e38b2cda15af65044291adc0806b39586048943515d67656d64871bea4ea05b3dff76761ebed462db2d6ad0e489079291abc55313b1508946 WHIRLPOOL 37eb83618f896037f7ca6f5a65e113c468b4ee03bf05421ee5f6907a1ad562f5794267970531eba4798ec517915ac9debde36f1d8dcabfe442ae75f1de5b0841 +EBUILD xcache-3.2.0-r2.ebuild 1462 SHA256 f93351be391b7a4f352517bba79803f9c1c157773e1f52e56ce9314c98498a60 SHA512 822c073f2892b314bfc7ba123080fb48544e16f322df49501e556e4877f7218f63d735c52859826f4ce0fe869e768a867cdf31b20b446d6e432f3435d1319486 WHIRLPOOL 4e74fa03e4dd2e05a57360bdb1ebd27cf851a329d22d03ff9ede9dbe37b4ee921c2d63ec004205b100a7175b6fd07a0115401da2f469b138c59168f5b3739b4a +MISC ChangeLog 3866 SHA256 2cb7d00eba3b4f73de7a971b6056807796c5003bac9162eb97bbed7767e8cbde SHA512 94e234bd83e386d522a4a5d8f2319ac1d9f368d81843c9017295948b475104d973bac2e143ef81da0b9e18f722a6afb2c2e8a89104517a63150c169239e9589d WHIRLPOOL 22f72580330ba5a575d7a52c88d4bfce82fadf94d78e9805fe7bc21a7b41be86cf8aacf4280917997b525ddeb07207f06deeea7b7e4ec88eaa48d74703d9a12e +MISC ChangeLog-2015 6252 SHA256 819f6dfb56414476cffae85273bed401e8a12a156af5b7ae4187cf85807499f7 SHA512 b2c6a6b8404102c544599e4f2642b804c1c8cf919d3b9b8375d1d1db6313ae51bbed19d00a90ddbe553c97ab43f87a33d7df525d5f73786591d3c51069d37279 WHIRLPOOL 1a3922b5a295d9723ff048dcc80d5d5b3f7a53cc07e1f6906030647b83e3e8486ece7470bd3a5387e923d1a37e171f562e53884724236fa3b03eb6201dd5838b +MISC metadata.xml 374 SHA256 8df4b946d7fc38d9fcf62ff29ee4833f08e18350087d36846322d3740a10a768 SHA512 702f650054d27c86aeee0dcb8f83dd8df848be8e28c6486dbff44431c469361d0e4b2e2f1edfc5ac55516c0eee826ec283c2c2c6b4d3b8a647e363d55b3604f6 WHIRLPOOL cd0f811c7eb274e96f7f57327aefbbd58cc142938ed6f2ec7140b9ceb150bf445f25602435a54b5a25d2a31e4d81629dd22001c60bb8386eb419082861162cdf diff --git a/dev-php/xcache/metadata.xml b/dev-php/xcache/metadata.xml new file mode 100644 index 000000000000..48b6cd35a6fc --- /dev/null +++ b/dev-php/xcache/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + + <use> + <flag name="coverage"> + Enable the coverager module (not recommended for + production servers). + </flag> + </use> +</pkgmetadata> diff --git a/dev-php/xcache/xcache-3.2.0-r2.ebuild b/dev-php/xcache/xcache-3.2.0-r2.ebuild new file mode 100644 index 000000000000..64e55e43a542 --- /dev/null +++ b/dev-php/xcache/xcache-3.2.0-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="xcache" +PHP_EXT_SAPIS="apache2 cgi fpm" +USE_PHP="php5-6" + +inherit php-ext-source-r3 + +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="coverage" + +# 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}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-xcache=shared + --enable-xcache-constant \ + --enable-xcache-optimizer \ + $(use_enable coverage xcache-coverager) \ + --enable-xcache-assembler \ + --enable-xcache-encoder \ + --enable-xcache-decoder ) + + php-ext-source-r3_src_configure +} + +src_install() { + php-ext-source-r3_src_install + + insinto "${PHP_EXT_SHARED_DIR}" + doins lib/Decompiler.class.php + + # Install the admin interface somewhere where it can be + # copied/symlinked into a document root. + insinto "/usr/share/${PN}" + doins -r htdocs +} + +pkg_postinst() { + elog "The lib/Decompiler.class.php file shipped with this release" + elog "was installed into ${PHP_EXT_SHARED_DIR}. The htdocs/ admin" + elog "interface directory can be found under ${EPREFIX}/usr/share/${PN}." +} |