From cbe9f26dc61eb053d6572d6ed48a852cd2e813b3 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Thu, 2 Dec 2021 08:38:15 -0600 Subject: [PATCH] php7-pecl-sodium: add new package Signed-off-by: W. Michael Petullo --- lang/php7-pecl-sodium/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lang/php7-pecl-sodium/Makefile diff --git a/lang/php7-pecl-sodium/Makefile b/lang/php7-pecl-sodium/Makefile new file mode 100644 index 000000000..c48818469 --- /dev/null +++ b/lang/php7-pecl-sodium/Makefile @@ -0,0 +1,33 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PECL_NAME:=sodium +PECL_LONGNAME:=Bindings for libsodium + +PKG_VERSION:=2.0.23 +PKG_RELEASE:=$(AUTORELEASE) +PKG_HASH:=f8c04533de8e4b48077f65de61b187e195c0919c41d4543e2263604fa0c50379 + +PKG_NAME:=php7-pecl-sodium +PKG_SOURCE:=lib$(PECL_NAME)-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://pecl.php.net/get/ + +PKG_MAINTAINER:=W. Michael Petullo + +PKG_LICENSE:=ISC +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DEPENDS:=php7 +PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/lib$(PECL_NAME)-$(PKG_VERSION) +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../php7/pecl.mk + +$(eval $(call PHP7PECLPackage,sodium,$(PECL_LONGNAME),+libsodium,30)) +$(eval $(call BuildPackage,$(PKG_NAME)))