diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-php/pecl-apcu | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-php/pecl-apcu')
-rw-r--r-- | dev-php/pecl-apcu/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-apcu/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild | 63 |
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest new file mode 100644 index 000000000000..461af9fe7476 --- /dev/null +++ b/dev-php/pecl-apcu/Manifest @@ -0,0 +1 @@ +DIST APCu-4.0.7.tgz 118670 SHA256 178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6 SHA512 50db51358c9268cc5fdd0d48fb444be9e9356f1690bc1ae021a9618c8819ce8873bf4502fe87a10467ffda2ef38267ccca2af55152b064400c69a8da92b7e98b WHIRLPOOL 3c721753764d6f3adbf6090710aafdb29d78b3d55e718c0101d7cad993b51d7b335931c61f120f8dad4623fe16cad9f13952367934968599ed15dd9c744b9725 diff --git a/dev-php/pecl-apcu/metadata.xml b/dev-php/pecl-apcu/metadata.xml new file mode 100644 index 000000000000..cf71629d0762 --- /dev/null +++ b/dev-php/pecl-apcu/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> + <use> + <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag> + <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag> + <flag name="lock_pthreadrw">Enable pthread read/write locking</flag> + <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag> + </use> +</pkgmetadata> 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..7a0d5e4ed772 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}/." +} |