1################################################################################ 2# 3# php-xdebug 4# 5################################################################################ 6 7PHP_XDEBUG_VERSION = 3.0.4 8PHP_XDEBUG_SITE = $(call github,xdebug,xdebug,$(PHP_XDEBUG_VERSION)) 9PHP_XDEBUG_INSTALL_STAGING = YES 10PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like) 11PHP_XDEBUG_LICENSE_FILES = LICENSE 12# phpize does the autoconf magic 13PHP_XDEBUG_DEPENDENCIES = php host-autoconf 14PHP_XDEBUG_CONF_OPTS = \ 15 --enable-xdebug \ 16 --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ 17 --with-xdebug=$(STAGING_DIR)/usr 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 28$(eval $(autotools-package)) 29