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.

35 lines
921 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:=mcrypt
  7. PECL_LONGNAME:=Bindings for the libmcrypt library
  8. PKG_VERSION:=1.0.4
  9. PKG_RELEASE:=1
  10. PKG_HASH:=98153e78958d7a48dcd0dcfe1fc3c16ec987121a0cb2d7c273d280ee7e4ea00d
  11. PKG_NAME:=php8-pecl-mcrypt
  12. PKG_SOURCE:=$(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:=PHP-3.01
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DEPENDS:=php8
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8/$(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. CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
  24. $(eval $(call PHP8PECLPackage,mcrypt,$(PECL_LONGNAME),+libmcrypt +libltdl,30))
  25. $(eval $(call BuildPackage,$(PKG_NAME)))