summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2014-10-15 14:44:31 +0000
committerBrian Evans <grknight@gentoo.org>2014-10-15 14:44:31 +0000
commit1b4ce61a8f25d30a3a123dec798854fdf80b0ca0 (patch)
tree5122bd2fb1716e47be541b8265164b133db997f9 /dev-php
parentVersion bump. (diff)
downloadgentoo-2-1b4ce61a8f25d30a3a123dec798854fdf80b0ca0.tar.gz
gentoo-2-1b4ce61a8f25d30a3a123dec798854fdf80b0ca0.tar.bz2
gentoo-2-1b4ce61a8f25d30a3a123dec798854fdf80b0ca0.zip
Version bump
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-apcu/ChangeLog7
-rw-r--r--dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild63
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}/."
+}