diff options
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-apcu/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild | 63 |
2 files changed, 69 insertions, 1 deletions
diff --git a/dev-php/pecl-apcu/ChangeLog b/dev-php/pecl-apcu/ChangeLog index 24388ecf44db..2c9cd296e450 100644 --- a/dev-php/pecl-apcu/ChangeLog +++ b/dev-php/pecl-apcu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-php/pecl-apcu # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.10 2014/10/10 02:11:50 grknight Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.11 2014/10/15 14:44:31 grknight Exp $ + +*pecl-apcu-4.0.7 (15 Oct 2014) + + 15 Oct 2014; Brian Evans <grknight@gentoo.org> +pecl-apcu-4.0.7.ebuild: + Version bump *pecl-apcu-4.0.6 (30 Sep 2014) diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild new file mode 100644 index 000000000000..f76e227edaa1 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild,v 1.1 2014/10/15 14:44:31 grknight Exp $ + +EAPI=5 + +PHP_EXT_NAME="apcu" +PHP_EXT_PECL_PKG="APCu" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" + +USE_PHP="php5-6 php5-5 php5-4" + +S="${WORKDIR}/apcu-${PV}" +PHP_EXT_S="${WORKDIR}/apcu-${PV}" + +inherit php-ext-pecl-r2 confutils eutils + +S="${WORKDIR}/apcu-${PV}" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Stripped down version of APC supporting only user cache" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="+mmap" + +DEPEND="" +RDEPEND="${DEPEND}" + +LOCKS="pthreadmutex pthreadrw spinlock semaphore" + +LUSE="" +for l in ${LOCKS}; do + LUSE+="lock_${l} " +done + +IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" + +REQUIRED_USE="^^ ( $LUSE )" + +src_configure() { + my_conf="--enable-apcu" + use mmap || my_conf+=" --disable-apcu-mmap" + + enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0 + + php-ext-source-r2_src_configure +} + +src_install() { + php-ext-pecl-r2_src_install + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of pecl-apcu was" + elog "installed into ${PHP_EXT_SHARED_DIR}/." +} |