Added pecl-apcu-5.1.23-r1.
This commit is contained in:
parent
ff47211f91
commit
a55ce117a5
|
@ -1,3 +1,5 @@
|
|||
DIST apcu-5.1.21.tgz 92516 BLAKE2B 32d73b89bde9ef4eb01c9ad766930e87300b86776c95929607a8aaefba5043e3a7947d064416ac083ff38876fdb41bb03dab1552ac000082e54f809269b4c925 SHA512 a6ffe8349760d27cde0d86017a59a68e9639bf385e606622d807094f4e5fb305bb25b9ce00077d0856f4d223d44329f7a6314c229b62c78d8e2b085593c92bb3
|
||||
DIST apcu-5.1.23.tgz 90897 BLAKE2B 634366b99c993298c8720840d06ff3aed30bfb3f09fd7b63f4736766f4ac1b983f24317f161bf7dd1b3ab79053c905cc9136e8141468174177d2a05b94719590 SHA512 89e9f10f5d8d1a9503132e80140680be2a10d96f957f69b2f77cc1c496d15cc26dfe4c0368ebe46c72c68d1b4a794d3ddc95942b02d3ba5e8c971b09969058d8
|
||||
EBUILD pecl-apcu-5.1.21.ebuild 1134 BLAKE2B 5e48fec24abc6f01a54b6be6338e980e9fa84540e31fc2e9920b66e0687a2b0480fbd207a713d0cb3cb1159f36cd10bf577558980ab41db2a98e82365f1bf0dc SHA512 8f8b0d0b25070527bc642a0e86c79faa56ba068f3dea18d5666a5e4aa823c051b1e1dab3bc8b946356b038678878aac8e73b474942a9e206d4ccee9a1645c609
|
||||
EBUILD pecl-apcu-5.1.23-r1.ebuild 1140 BLAKE2B 42abbd3d74856fe7fa0d99f157a78d1d7c5543845b78744adc7d86ffe129f805eb4cfb9bf3cc7ec46b7a0bb20423e2570f51ef003b66b470b7991aa52ae29b30 SHA512 475e4fe2c87febade8c6764fd5b24f95f76df3cb6d060368b59a69358757a4edc0bfe0144f7e8a8f20e12859d2fda371d2f3bf2676e92008d9ea03441e5beefd
|
||||
MISC metadata.xml 541 BLAKE2B 533f563e606b35d23c766aa177ea80b56b17ff352e907f2aed65c82be8bb6b01bcb61d69c6be6560b8e975ac279cf3a00ba5976d4a50c0f3ae68677ae7557cd8 SHA512 5dde6ecb39edb11fc4222cf869449f43fe3923623cea2a8ee4d4a4b8d7bf11bcc6d40f135cb5dc4cc81b161ed50489230bba443274c914d0015046ea44c868d8
|
||||
|
|
52
dev-php/pecl-apcu/pecl-apcu-5.1.23-r1.ebuild
Normal file
52
dev-php/pecl-apcu/pecl-apcu-5.1.23-r1.ebuild
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Copyright 1999-2023 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="php7-4 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/."
|
||||
}
|
Loading…
Reference in a new issue