2 # Copyright (C) 2012 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:=288bae57b89d8de4bdd7d7dc5954cf8c
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" \
33 $(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt +php5-mod-iconv +php5-mod-session))
34 $(eval $(call BuildPackage,$(PKG_NAME)))