mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-php/pecl-apcu: drop 5.1.23-r1
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST apcu-5.1.23.tgz 90897 BLAKE2B 634366b99c993298c8720840d06ff3aed30bfb3f09fd7b63f4736766f4ac1b983f24317f161bf7dd1b3ab79053c905cc9136e8141468174177d2a05b94719590 SHA512 89e9f10f5d8d1a9503132e80140680be2a10d96f957f69b2f77cc1c496d15cc26dfe4c0368ebe46c72c68d1b4a794d3ddc95942b02d3ba5e8c971b09969058d8
|
||||
DIST apcu-5.1.24.tgz 90866 BLAKE2B fa0afae8948f952351951d51eb2966382a7bcc8be32c9b7a7b19096eddade62a2747cd0b8b173c484e7a39c4edfc6c266caa0d5e3455691274cd5ec5fedd976a SHA512 771c0551feb35bf64bc07a7a2c60c9b549009a252f4f158fbc83c7d77f4119d84291a1128302a350042d83879dcb38a445672ce115d8c14b969b51f423a446fa
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_NAME="apcu"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
USE_PHP="php8-1 php8-2 php8-3"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="Stripped down version of APC supporting only user cache"
|
||||
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="7"
|
||||
KEYWORDS="amd64 ~arm arm64 x86"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock-${l} "
|
||||
done
|
||||
IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
DOCS=( NOTICE README.md TECHNOTES.txt )
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-apcu
|
||||
$(use_enable mmap apcu-mmap)
|
||||
$(use_enable lock-spinlock apcu-spinlocks)
|
||||
)
|
||||
|
||||
# Broken upstream autoconf test disables if present at all
|
||||
use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks )
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r3_src_install
|
||||
|
||||
insinto /usr/share/php8/apcu
|
||||
doins apc.php
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The apc.php file shipped with this release of pecl-apcu"
|
||||
elog "was installed to ${EPREFIX}/usr/share/php8/apcu/."
|
||||
}
|
||||
Reference in New Issue
Block a user