PKG_NAME:=php
PKG_VERSION:=5.4.22
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.php.net/distributions/
xml xmlreader xmlwriter zip \
PKG_CONFIG_DEPENDS:= \
- CONFIG_PACKAGE_php5-cgi CONFIG_PACKAGE_php5-cli \
$(patsubst %,CONFIG_PACKAGE_php5-mod-%,$(PHP5_MODULES)) \
CONFIG_PHP5_FILTER CONFIG_PHP5_LIBXML CONFIG_PHP5_SYSTEMTZDATA
endef
CONFIGURE_ARGS+= \
+ --enable-cli \
+ --enable-cgi \
--enable-shared \
--disable-static \
--disable-rpath \
--with-pcre-regex="$(STAGING_DIR)/usr" \
--disable-phar
-ifneq ($(SDK)$(CONFIG_PACKAGE_php5-cli),)
- CONFIGURE_ARGS+= --enable-cli
-else
- CONFIGURE_ARGS+= --disable-cli
-endif
-
-ifneq ($(SDK)$(CONFIG_PACKAGE_php5-cgi),)
- CONFIGURE_ARGS+= --enable-cgi
-else
- CONFIGURE_ARGS+= --disable-cgi
-endif
-
ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-calendar),)
CONFIGURE_ARGS+= --enable-calendar=shared
else