1################################################################################ 2# 3# php-xdebug 4# 5################################################################################ 6 7PHP_XDEBUG_VERSION = 3.3.1 8PHP_XDEBUG_SOURCE = xdebug-$(PHP_XDEBUG_VERSION).tgz 9PHP_XDEBUG_SITE = https://xdebug.org/files 10PHP_XDEBUG_INSTALL_STAGING = YES 11PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.01-like) 12PHP_XDEBUG_LICENSE_FILES = LICENSE 13# phpize does the autoconf magic 14PHP_XDEBUG_DEPENDENCIES = php host-autoconf 15PHP_XDEBUG_CONF_OPTS = \ 16 --enable-xdebug \ 17 --with-php-config=$(STAGING_DIR)/usr/bin/php-config 18 19define PHP_XDEBUG_PHPIZE 20 (cd $(@D); \ 21 PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ 22 PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ 23 $(STAGING_DIR)/usr/bin/phpize) 24endef 25 26PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE 27 28ifeq ($(BR2_PACKAGE_ZLIB),y) 29PHP_XDEBUG_CONF_OPTS += --with-xdebug-compression 30PHP_XDEBUG_DEPENDENCIES += zlib 31else 32PHP_XDEBUG_CONF_OPTS += --without-xdebug-compression 33endif 34 35$(eval $(autotools-package)) 36