php7-pecl-redis: migrate package to php8-pecl-redis
authorMichael Heimpold <mhei@heimpold.de>
Thu, 9 Dec 2021 07:13:47 +0000 (08:13 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Thu, 9 Dec 2021 20:57:44 +0000 (21:57 +0100)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php7-pecl-redis/Makefile [deleted file]
lang/php8-pecl-redis/Makefile [new file with mode: 0644]

diff --git a/lang/php7-pecl-redis/Makefile b/lang/php7-pecl-redis/Makefile
deleted file mode 100644 (file)
index 440d18e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# 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:=5.3.4
-PKG_RELEASE:=1
-PKG_HASH:=4b39056f3356f135255e059efd76398d1c7607c86bd52513e6341bb07a3fb4cc
-
-PKG_NAME:=php7-pecl-redis
-PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=http://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-php7/$(PECL_NAME)-$(PKG_VERSION)
-PKG_BUILD_PARALLEL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-include ../php7/pecl.mk
-
-CONFIGURE_ARGS+= \
-       --enable-redis \
-       --enable-redis-json \
-       --disable-redis-igbinary \
-       --disable-redis-lzf \
-       --disable-redis-msgpack
-
-$(eval $(call PHP7PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+php7-mod-json +php7-mod-session,25))
-$(eval $(call BuildPackage,$(PKG_NAME)))
diff --git a/lang/php8-pecl-redis/Makefile b/lang/php8-pecl-redis/Makefile
new file mode 100644 (file)
index 0000000..55d5dc2
--- /dev/null
@@ -0,0 +1,39 @@
+#
+# 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:=5.3.4
+PKG_RELEASE:=1
+PKG_HASH:=4b39056f3356f135255e059efd76398d1c7607c86bd52513e6341bb07a3fb4cc
+
+PKG_NAME:=php8-pecl-redis
+PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
+PKG_SOURCE_URL:=http://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)))