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.

33 lines
855 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:=sodium
  7. PECL_LONGNAME:=Bindings for libsodium
  8. PKG_VERSION:=2.0.23
  9. PKG_RELEASE:=$(AUTORELEASE)
  10. PKG_HASH:=f8c04533de8e4b48077f65de61b187e195c0919c41d4543e2263604fa0c50379
  11. PKG_NAME:=php8-pecl-sodium
  12. PKG_SOURCE:=lib$(PECL_NAME)-$(PKG_VERSION).tgz
  13. PKG_SOURCE_URL:=http://pecl.php.net/get/
  14. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  15. PKG_LICENSE:=ISC
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DEPENDS:=php8
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8/lib$(PECL_NAME)-$(PKG_VERSION)
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. include ../php8/pecl.mk
  23. $(eval $(call PHP8PECLPackage,sodium,$(PECL_LONGNAME),+libsodium,30))
  24. $(eval $(call BuildPackage,$(PKG_NAME)))