You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PECL_NAME:=pecl_http
  7. PECL_LONGNAME:=Extended HTTP Support
  8. PKG_VERSION:=3.0.1
  9. PKG_RELEASE:=2
  10. PKG_MD5SUM:=042c97314c180f6473338f0c5d35fabd
  11. PKG_NAME:=php7-pecl-http
  12. PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
  13. PKG_SOURCE_URL:=http://pecl.php.net/get/
  14. PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
  15. PKG_LICENSE:=BSD-2-Clause
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DEPENDS:=php7 php7-pecl-propro php7-pecl-raphf
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_FIXUP:=autoreconf
  21. include $(INCLUDE_DIR)/package.mk
  22. include $(INCLUDE_DIR)/nls.mk
  23. include ../php7/pecl.mk
  24. CONFIGURE_VARS+= \
  25. PHP_PROPRO=yes \
  26. PHP_RAPHF=yes \
  27. CONFIGURE_ARGS+= \
  28. --with-http \
  29. --without-http-shared-deps \
  30. --with-http-libcurl-dir="$(STAGING_DIR)/usr" \
  31. --with-http-libevent-dir="$(STAGING_DIR)/usr" \
  32. --with-http-libidn-dir="$(STAGING_DIR)/usr"
  33. $(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt +libevent2 +libidn +php7-mod-iconv +php7-mod-session +php7-pecl-raphf +php7-pecl-propro,30))
  34. $(eval $(call BuildPackage,$(PKG_NAME)))