mirror of https://github.com/openwrt/packages.git
40 lines
984 B
Makefile
40 lines
984 B
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PECL_NAME:=redis
|
|
PECL_LONGNAME:=PHP extension for interfacing with Redis
|
|
|
|
PKG_VERSION:=6.1.0
|
|
PKG_RELEASE:=1
|
|
PKG_HASH:=f10405f639fe415e9ed4ec99538e72c90694d8dbd62868edcfcd6a453466b48c
|
|
|
|
PKG_NAME:=php8-pecl-redis
|
|
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
|
PKG_SOURCE_URL:=https://pecl.php.net/get/
|
|
|
|
PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
|
|
|
|
PKG_LICENSE:=PHP-3.01
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8/$(PECL_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/nls.mk
|
|
include ../php8/pecl.mk
|
|
|
|
CONFIGURE_ARGS+= \
|
|
--enable-redis \
|
|
--enable-redis-json \
|
|
--disable-redis-igbinary \
|
|
--disable-redis-lzf \
|
|
--disable-redis-msgpack
|
|
|
|
$(eval $(call PHP8PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+php8-mod-session,25))
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|