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.

39 lines
994 B

  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:=redis
  7. PECL_LONGNAME:=PHP extension for interfacing with Redis
  8. PKG_VERSION:=5.2.1
  9. PKG_RELEASE:=1
  10. PKG_HASH:=c05af6254d704844303fbe8b13b2d54bdb4372b1a081934e67cac42ec79ecbbe
  11. PKG_NAME:=php7-pecl-redis
  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:=PHP-3.01
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. include ../php7/pecl.mk
  22. CONFIGURE_ARGS+= \
  23. --enable-redis \
  24. --enable-redis-json \
  25. --disable-redis-igbinary \
  26. --disable-redis-lzf \
  27. --disable-redis-msgpack
  28. $(eval $(call PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+php7-mod-json +php7-mod-session,25))
  29. $(eval $(call BuildPackage,$(PKG_NAME)))