mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-php/pecl-apcu_bc: Version bump; rename extension file
In order to consistently load apc_bc, install it as bc_apc.so This only requires a simple rename instead of hacking the eclass to provide a different ini file name which does not always work. Package-Manager: portage-2.2.27
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST apcu_bc-1.0.0.tgz 5893 SHA256 3e683aa5c284075e16bc2603849c11e8ed51d2c1da213b877f429b44af91500c SHA512 eb7946692a1f3aa11a23031226e0d99bc68eee92972a359ce27714ea35fcb2a225c8da09b860b891b7c291d57cbf1b858a05adfdb99731307b484b0096014e5c WHIRLPOOL 3cf77319f3086892836592d9c2e1fe5ae5dca7b95462ef2d60e4cb055872f3a30212e751f363901f0e1781c89c0ca222d9879970e787a06bb8c7bbc2b818c65b
|
||||
DIST apcu_bc-1.0.1.tgz 6500 SHA256 512674d891104d6da91811dbb89d28ab3faa356ee0ab4cbeae9bba9cf3e971cb SHA512 336f8b132f421cb9e4ec2fce2b1af7394f8f74965669e4e87b380f5a988b39ba4abec68a4e915d09bb041a6194a0cc5822445246a068efebda0cbeca943df95b WHIRLPOOL 1dfdbf291cf568d9addce51232607d839cb7b3d20ea0472bb12bad9503da607ba230280a4ef98bf684c177a244dd8bb98c2de3821a79b16f8a4966e4ec90cedf
|
||||
DIST apcu_bc-1.0.3.tgz 7245 SHA256 40b63ada315ffce81e2e8d75162606090e1cc72fe94207bc7daa6dd260694919 SHA512 b1faf811316bbba25354b9b28d5c13c69ae93913b90eb36d1904ef4d9ca35000e1d83f8204ab4500813cb8858feccebb262523f42b3116b85c59c6a796affe67 WHIRLPOOL 5f3042f6ed01224e345a07067ca5067fda1eef9408eb514d85162239c3ae404a5ed02e5404e33cea4fa4e22b74f13a48f78157098c9376af36871008d302f7f2
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="bc_apc"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README.md"
|
||||
|
||||
USE_PHP="php7-0"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Provides APC backwards compatibility functions via APCu"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-php/pecl-apcu[php_targets_php7-0]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
# Rename the apc.so to match the ini file loading requirement
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
mv "modules/apc.so" "modules/${PHP_EXT_NAME}.so" || die
|
||||
done
|
||||
php-ext-pecl-r2_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user