1 ################################################################################
5 ################################################################################
7 PHP_YAML_VERSION
= 2.0.0RC7
8 PHP_YAML_SOURCE
= yaml-
$(PHP_YAML_VERSION
).tgz
9 PHP_YAML_SITE
= https
://pecl.php.net
/get
10 PHP_YAML_CONF_OPTS
= --with-php-config
=$(STAGING_DIR
)/usr
/bin
/php-config \
11 --with-yaml
=$(STAGING_DIR
)/usr
12 # phpize does the autoconf magic
13 PHP_YAML_DEPENDENCIES
= libyaml php host-autoconf
14 PHP_YAML_LICENSE
= MIT
15 PHP_YAML_LICENSE_FILES
= LICENSE
17 define PHP_YAML_PHPIZE
19 PHP_AUTOCONF
=$(HOST_DIR
)/usr
/bin
/autoconf \
20 PHP_AUTOHEADER
=$(HOST_DIR
)/usr
/bin
/autoheader \
21 $(STAGING_DIR
)/usr
/bin
/phpize
)
24 PHP_YAML_PRE_CONFIGURE_HOOKS
+= PHP_YAML_PHPIZE
26 $(eval
$(autotools-package
))