php5: add mod_intl (resolves #2620)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
parent
9b44ecc86f
commit
eb71734dba
1 changed files with 11 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=php
|
PKG_NAME:=php
|
||||||
PKG_VERSION:=5.6.19
|
PKG_VERSION:=5.6.19
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>, Michael Heimpold <mhei@heimpold.de>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>, Michael Heimpold <mhei@heimpold.de>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ PHP5_MODULES = \
|
||||||
ftp \
|
ftp \
|
||||||
gettext gd gmp \
|
gettext gd gmp \
|
||||||
hash \
|
hash \
|
||||||
iconv \
|
iconv intl \
|
||||||
json \
|
json \
|
||||||
ldap \
|
ldap \
|
||||||
mbstring mcrypt mysql mysqli \
|
mbstring mcrypt mysql mysqli \
|
||||||
|
@ -98,6 +98,7 @@ endef
|
||||||
|
|
||||||
define Package/php5-cli
|
define Package/php5-cli
|
||||||
$(call Package/php5/Default)
|
$(call Package/php5/Default)
|
||||||
|
DEPENDS+= +PACKAGE_php5-mod-intl:libstdcpp
|
||||||
TITLE+= (CLI)
|
TITLE+= (CLI)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -108,6 +109,7 @@ endef
|
||||||
|
|
||||||
define Package/php5-cgi
|
define Package/php5-cgi
|
||||||
$(call Package/php5/Default)
|
$(call Package/php5/Default)
|
||||||
|
DEPENDS+= +PACKAGE_php5-mod-intl:libstdcpp
|
||||||
TITLE+= (CGI & FastCGI)
|
TITLE+= (CGI & FastCGI)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -237,6 +239,12 @@ else
|
||||||
CONFIGURE_ARGS+= --without-iconv
|
CONFIGURE_ARGS+= --without-iconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-intl),)
|
||||||
|
CONFIGURE_ARGS+= --enable-intl=shared
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS+= --disable-intl
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-json),)
|
ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-json),)
|
||||||
CONFIGURE_ARGS+= --enable-json=shared
|
CONFIGURE_ARGS+= --enable-json=shared
|
||||||
else
|
else
|
||||||
|
@ -543,6 +551,7 @@ $(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php5-mod-gettext:libintl-full
|
||||||
$(eval $(call BuildModule,gmp,GMP,+PACKAGE_php5-mod-gmp:libgmp))
|
$(eval $(call BuildModule,gmp,GMP,+PACKAGE_php5-mod-gmp:libgmp))
|
||||||
$(eval $(call BuildModule,hash,Hash))
|
$(eval $(call BuildModule,hash,Hash))
|
||||||
$(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS)))
|
$(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS)))
|
||||||
|
$(eval $(call BuildModule,intl,Internationalization Functions,+PACKAGE_php5-mod-intl:icu))
|
||||||
$(eval $(call BuildModule,json,JSON))
|
$(eval $(call BuildModule,json,JSON))
|
||||||
$(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php5-mod-ldap:libopenldap +PACKAGE_php5-mod-ldap:libsasl2))
|
$(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php5-mod-ldap:libopenldap +PACKAGE_php5-mod-ldap:libsasl2))
|
||||||
$(eval $(call BuildModule,mbstring,MBString))
|
$(eval $(call BuildModule,mbstring,MBString))
|
||||||
|
|
Loading…
Reference in a new issue