kumquat-buildroot/package/php-xdebug/php-xdebug.mk
Adam Duskett ec3d0ccc9d package/php-xdebug: bump version to 3.2.2
Signed-off-by: Adam Duskett <aduskett@gmail.comm>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-09-08 21:47:14 +02:00

30 lines
882 B
Makefile

################################################################################
#
# php-xdebug
#
################################################################################
PHP_XDEBUG_VERSION = 3.2.2
PHP_XDEBUG_SOURCE = xdebug-$(PHP_XDEBUG_VERSION).tgz
PHP_XDEBUG_SITE = https://xdebug.org/files
PHP_XDEBUG_INSTALL_STAGING = YES
PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like)
PHP_XDEBUG_LICENSE_FILES = LICENSE
# phpize does the autoconf magic
PHP_XDEBUG_DEPENDENCIES = php host-autoconf
PHP_XDEBUG_CONF_OPTS = \
--enable-xdebug \
--with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--with-xdebug=$(STAGING_DIR)/usr
define PHP_XDEBUG_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE
$(eval $(autotools-package))