From 47cbd1faec94ffb81f2d824008054282415c193c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 21 Jan 2013 15:27:47 +0000 Subject: [PATCH] [packages] Introduce php5-pecl-http package Signed-off-by: Michael Heimpold SVN-Revision: 35276 --- lang/php5-pecl-http/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lang/php5-pecl-http/Makefile diff --git a/lang/php5-pecl-http/Makefile b/lang/php5-pecl-http/Makefile new file mode 100644 index 0000000000..05dbd104a5 --- /dev/null +++ b/lang/php5-pecl-http/Makefile @@ -0,0 +1,34 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PECL_NAME:=pecl_http +PECL_LONGNAME:=Extended HTTP Support + +PKG_VERSION:=1.7.4 +PKG_RELEASE:=1 +PKG_MD5SUM:=288bae57b89d8de4bdd7d7dc5954cf8c + +PKG_NAME:=php5-pecl-http +PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://pecl.php.net/get/ + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PECL_NAME)-$(PKG_VERSION) +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../php5/pecl.mk + +CONFIGURE_ARGS+= \ + --enable-http=shared \ + --without-http-shared-deps \ + --with-http-curl-requests="$(STAGING_DIR)/usr" \ + +$(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt +php5-mod-iconv +php5-mod-session)) +$(eval $(call BuildPackage,$(PKG_NAME))) -- 2.30.2