2018-05-27 01:51:21 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PECL_NAME:=mcrypt
|
|
|
|
PECL_LONGNAME:=Bindings for the libmcrypt library
|
|
|
|
|
2024-01-02 00:44:03 +01:00
|
|
|
PKG_VERSION:=1.0.7
|
2021-01-01 22:54:43 +01:00
|
|
|
PKG_RELEASE:=1
|
2024-01-02 00:44:03 +01:00
|
|
|
PKG_HASH:=12ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4
|
2018-05-27 01:51:21 +02:00
|
|
|
|
2021-12-09 08:11:49 +01:00
|
|
|
PKG_NAME:=php8-pecl-mcrypt
|
2018-05-27 01:51:21 +02:00
|
|
|
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
2024-02-20 17:38:25 +01:00
|
|
|
PKG_SOURCE_URL:=https://pecl.php.net/get/
|
2018-05-27 01:51:21 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
|
|
|
2019-09-08 23:17:29 +02:00
|
|
|
PKG_LICENSE:=PHP-3.01
|
2018-05-27 01:51:21 +02:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
2021-12-09 08:11:49 +01:00
|
|
|
PKG_BUILD_DEPENDS:=php8
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8/$(PECL_NAME)-$(PKG_VERSION)
|
2018-05-27 01:51:21 +02:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2021-12-09 08:11:49 +01:00
|
|
|
include ../php8/pecl.mk
|
2018-05-27 01:51:21 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
|
|
|
|
|
2021-12-09 08:11:49 +01:00
|
|
|
$(eval $(call PHP8PECLPackage,mcrypt,$(PECL_LONGNAME),+libmcrypt +libltdl,30))
|
2018-05-27 01:51:21 +02:00
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|