[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:
parent
81389e450d
commit
a1bbc6469b
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=php
|
PKG_NAME:=php
|
||||||
PKG_VERSION:=5.3.6
|
PKG_VERSION:=5.3.6
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.php.net/distributions/
|
PKG_SOURCE_URL:=http://www.php.net/distributions/
|
||||||
@ -26,7 +26,7 @@ PHP5_MODULES = \
|
|||||||
exif \
|
exif \
|
||||||
ftp \
|
ftp \
|
||||||
gettext gd gmp \
|
gettext gd gmp \
|
||||||
hash \
|
hash http \
|
||||||
iconv \
|
iconv \
|
||||||
json \
|
json \
|
||||||
ldap libevent \
|
ldap libevent \
|
||||||
@ -240,6 +240,15 @@ else
|
|||||||
CONFIGURE_ARGS+= --disable-hash
|
CONFIGURE_ARGS+= --disable-hash
|
||||||
endif
|
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),)
|
ifneq ($(CONFIG_PACKAGE_php5-mod-iconv),)
|
||||||
CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)"
|
CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)"
|
||||||
else
|
else
|
||||||
@ -495,6 +504,7 @@ $(eval $(call BuildModule,gettext,Gettext,+libintl-full))
|
|||||||
$(eval $(call BuildModule,gd,GD graphics,+libgd))
|
$(eval $(call BuildModule,gd,GD graphics,+libgd))
|
||||||
$(eval $(call BuildModule,gmp,GMP,+libgmp))
|
$(eval $(call BuildModule,gmp,GMP,+libgmp))
|
||||||
$(eval $(call BuildModule,hash,Hash))
|
$(eval $(call BuildModule,hash,Hash))
|
||||||
|
$(eval $(call BuildModule,http,HTTP,+libcurl +librt))
|
||||||
$(eval $(call BuildModule,iconv,iConv,+libiconv))
|
$(eval $(call BuildModule,iconv,iConv,+libiconv))
|
||||||
$(eval $(call BuildModule,json,JSON))
|
$(eval $(call BuildModule,json,JSON))
|
||||||
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))
|
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))
|
||||||
|
29802
lang/php5/patches/030-PECL-add-http.patch
Normal file
29802
lang/php5/patches/030-PECL-add-http.patch
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user