[packages] Introduce php5-pecl-http package
Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@35276 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bf342d630a
commit
0eb0869d26
34
lang/php5-pecl-http/Makefile
Normal file
34
lang/php5-pecl-http/Makefile
Normal file
@ -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)))
|
Loading…
x
Reference in New Issue
Block a user