[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,15 @@
config BR2_PACKAGE_PHP_MEMCACHED
bool "php-memcached"
depends on BR2_INSTALL_LIBSTDCPP # libmemcached
depends on BR2_TOOLCHAIN_HAS_THREADS # libmemcached
select BR2_PACKAGE_PHP_EXT_SESSION
select BR2_PACKAGE_LIBMEMCACHED
select BR2_PACKAGE_ZLIB
help
PHP extension for interfacing with memcached via
libmemcached library.
http://pecl.php.net/package/memcached
comment "php-memcached needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,5 @@
# Locally calculated
sha256 b288e45f839593e16c4d8508b241de51a86df4f7322153e6becb9e1c819021fd memcached-3.1.5.tgz
sha256 24e8e3a9529204ead9422fa17cf3ddd75d292a8763b87fdb20591964f2e6ebe0 LICENSE
sha256 a453a7a272fbd24105b39959f76996d50dad80b22d1c310f6c67f74f62ae4054 fastlz/LICENSE
sha256 bba8cb50c660842c5ca459c5004395bdef8f01c1b64f97a9978f1053f173cb82 g_fmt.h

View File

@ -0,0 +1,28 @@
################################################################################
#
# php-memcached
#
################################################################################
PHP_MEMCACHED_VERSION = 3.1.5
PHP_MEMCACHED_SOURCE = memcached-$(PHP_MEMCACHED_VERSION).tgz
PHP_MEMCACHED_SITE = https://pecl.php.net/get
PHP_MEMCACHED_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--disable-memcached-sasl \
--with-libmemcached-dir=$(STAGING_DIR)/usr \
--with-zlib-dir=$(STAGING_DIR)/usr
# phpize does the autoconf magic
PHP_MEMCACHED_DEPENDENCIES = libmemcached php zlib host-autoconf host-pkgconf
PHP_MEMCACHED_LICENSE = PHP-3.01, MIT (fastlz), ISC-like (g_fmt.c, g_fmt.h)
PHP_MEMCACHED_LICENSE_FILES = LICENSE fastlz/LICENSE g_fmt.h
define PHP_MEMCACHED_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_MEMCACHED_PRE_CONFIGURE_HOOKS += PHP_MEMCACHED_PHPIZE
$(eval $(autotools-package))