@@ -272,6 +272,7 @@ endmenu
endif
source "package/microperl/Config.in"
source "package/php/Config.in"
+source "package/eaccelerator/Config.in"
source "package/python/Config.in"
if BR2_PACKAGE_PYTHON
menu "external python modules"
new file mode 100644
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_EACCELERATOR
+ bool "eaccelerator"
+ depends on BR2_PACKAGE_PHP
+ help
+ PHP accelerator and optimizer.
+
+ http://eaccelerator.net/
b/package/eaccelerator/eaccelerator.mk
new file mode 100644
@@ -0,0 +1,23 @@
+#############################################################
+#
+# eaccelerator
+#
+#############################################################
+EACCELERATOR_VERSION = 0.9.6.1
+EACCELERATOR_SITE = http://eaccelerator.net/
+EACCELERATOR_SOURCE = eaccelerator-$(EACCELERATOR_VERSION).tar.bz2
+EACCELERATOR_DEPENDENCIES = php
+EACCELERATOR_CONF_OPT = --enable-eaccelerator=shared \
+ --with-php-config=$(STAGING_DIR)/usr/bin/php-config
+EACCELERATOR_MAKE_ENV = INSTALL_ROOT="$(TARGET_DIR)"
+
+define EACCELERATOR_PRE_CONFIGURE_HOOK
+ # Must set shared memory config manually for cross-compilation
+ sed -i "s/mm_shm_mmap_anon=no/mm_shm_mmap_anon=yes\n
mm_sem_pthread=yes/" $(@D)/config.m4
+ # Need to run this command to create the autoconf configure script
+ cd $(@D) && phpize
+endef
+
+EACCELERATOR_PRE_CONFIGURE_HOOKS += EACCELERATOR_PRE_CONFIGURE_HOOK
+