Move all to deprecated folder.
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58 memcached-2.2.0.tgz
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-memcached
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_MEMCACHED_VERSION = 2.2.0
|
||||
PHP_MEMCACHED_SOURCE = memcached-$(PHP_MEMCACHED_VERSION).tgz
|
||||
# pecl.php.net returns html with db connect failed
|
||||
PHP_MEMCACHED_SITE = http://sources.buildroot.net
|
||||
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 = MIT
|
||||
PHP_MEMCACHED_LICENSE_FILES = LICENSE
|
||||
|
||||
define PHP_MEMCACHED_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
|
||||
$(STAGING_DIR)/usr/bin/phpize)
|
||||
endef
|
||||
|
||||
PHP_MEMCACHED_PRE_CONFIGURE_HOOKS += PHP_MEMCACHED_PHPIZE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user