php5-pecl-http: disable libevent support (fixes #13742)
[packages.git] / lang / php5-pecl-http / Makefile
1 #
2 # Copyright (C) 2012-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PECL_NAME:=pecl_http
11 PECL_LONGNAME:=Extended HTTP Support
12
13 PKG_VERSION:=1.7.4
14 PKG_RELEASE:=2
15 PKG_MD5SUM:=288bae57b89d8de4bdd7d7dc5954cf8c
16
17 PKG_NAME:=php5-pecl-http
18 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
19 PKG_SOURCE_URL:=http://pecl.php.net/get/
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PECL_NAME)-$(PKG_VERSION)
22 PKG_BUILD_PARALLEL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/nls.mk
26 include ../php5/pecl.mk
27
28 CONFIGURE_ARGS+= \
29         --enable-http=shared \
30         --without-http-shared-deps \
31         --with-http-curl-requests="$(STAGING_DIR)/usr" \
32         --without-http-curl-libevent \
33
34 $(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt +php5-mod-iconv +php5-mod-session))
35 $(eval $(call BuildPackage,$(PKG_NAME)))