Initial Commit
- initial default booting image
This commit is contained in:
15
package/php-memcached/Config.in
Normal file
15
package/php-memcached/Config.in
Normal 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
|
||||
5
package/php-memcached/php-memcached.hash
Normal file
5
package/php-memcached/php-memcached.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 c163434eb0da97c8f45c7ad41d979d381f8b81c49402b1b90b063987fb37972e memcached-3.4.0.tgz
|
||||
sha256 24e8e3a9529204ead9422fa17cf3ddd75d292a8763b87fdb20591964f2e6ebe0 LICENSE
|
||||
sha256 a453a7a272fbd24105b39959f76996d50dad80b22d1c310f6c67f74f62ae4054 fastlz/LICENSE
|
||||
sha256 bba8cb50c660842c5ca459c5004395bdef8f01c1b64f97a9978f1053f173cb82 g_fmt.h
|
||||
28
package/php-memcached/php-memcached.mk
Normal file
28
package/php-memcached/php-memcached.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-memcached
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_MEMCACHED_VERSION = 3.4.0
|
||||
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))
|
||||
Reference in New Issue
Block a user