mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 01:10:54 +00:00
Most packages already use https URLs and for PHP and PECL package downloads https is working properly. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
36 lines
922 B
Makefile
36 lines
922 B
Makefile
#
|
|
# 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
|
|
|
|
PKG_VERSION:=1.0.7
|
|
PKG_RELEASE:=1
|
|
PKG_HASH:=12ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4
|
|
|
|
PKG_NAME:=php8-pecl-mcrypt
|
|
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
|
PKG_SOURCE_URL:=https://pecl.php.net/get/
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
|
|
PKG_LICENSE:=PHP-3.01
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=php8
|
|
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+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
|
|
|
|
$(eval $(call PHP8PECLPackage,mcrypt,$(PECL_LONGNAME),+libmcrypt +libltdl,30))
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|