Browse Source

Merge pull request #6135 from MikePetullo/php7-pecl-mcrypt

php7-pecl-mcrypt: add new package
lilik-openwrt-22.03
Michael Heimpold 7 years ago
committed by GitHub
parent
commit
f5a0e3bcac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions
  1. +37
    -0
      lang/php7-pecl-mcrypt/Makefile

+ 37
- 0
lang/php7-pecl-mcrypt/Makefile View File

@ -0,0 +1,37 @@
#
# 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.1
PKG_RELEASE:=1
PKG_HASH:=a3b0e5493b5cd209ab780ee54733667293d369e6b7052b4a7dab9dd0def46ac6
PKG_NAME:=php7-pecl-mcrypt
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://pecl.php.net/get/
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=PHPv3.01
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=php7
PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include ../php7/pecl.mk
CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
$(eval $(call PECLPackage,mcrypt,$(PECL_LONGNAME),+libmcrypt +libltdl,30))
$(eval $(call BuildPackage,$(PKG_NAME)))

Loading…
Cancel
Save