[packages] php5: PECL: include support for http

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28123 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mhei 2011-08-29 19:43:23 +00:00
parent 81389e450d
commit a1bbc6469b
3 changed files with 114549 additions and 14358 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=php
PKG_VERSION:=5.3.6
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.php.net/distributions/
@ -26,7 +26,7 @@ PHP5_MODULES = \
exif \
ftp \
gettext gd gmp \
hash \
hash http \
iconv \
json \
ldap libevent \
@ -240,6 +240,15 @@ else
CONFIGURE_ARGS+= --disable-hash
endif
ifneq ($(CONFIG_PACKAGE_php5-mod-http),)
CONFIGURE_ARGS+= \
--enable-http=shared \
--without-http-shared-deps \
--with-http-curl-requests="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= --disable-http
endif
ifneq ($(CONFIG_PACKAGE_php5-mod-iconv),)
CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)"
else
@ -495,6 +504,7 @@ $(eval $(call BuildModule,gettext,Gettext,+libintl-full))
$(eval $(call BuildModule,gd,GD graphics,+libgd))
$(eval $(call BuildModule,gmp,GMP,+libgmp))
$(eval $(call BuildModule,hash,Hash))
$(eval $(call BuildModule,http,HTTP,+libcurl +librt))
$(eval $(call BuildModule,iconv,iConv,+libiconv))
$(eval $(call BuildModule,json,JSON))
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff