2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PECL_LONGNAME:=Extended HTTP Support
15 PKG_MD5SUM:=4926c17a24a11a9b1cf3ec613fad97cb
17 PKG_NAME:=php5-pecl-http
18 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
19 PKG_SOURCE_URL:=http://pecl.php.net/get/
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PECL_NAME)-$(PKG_VERSION)
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/nls.mk
26 include ../php5/pecl.mk
29 --enable-http=shared \
30 --without-http-shared-deps \
31 --with-http-curl-requests="$(STAGING_DIR)/usr" \
32 --without-http-curl-libevent \
34 $(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt +php5-mod-iconv +php5-mod-session))
35 $(eval $(call BuildPackage,$(PKG_NAME)))