From c27403d8f85568a4266068f2196e58b1d99dae52 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Sat, 26 May 2018 19:49:53 -0400 Subject: [PATCH] php7-pecl-krb5: add new package Signed-off-by: W. Michael Petullo --- lang/php7-pecl-krb5/Makefile | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lang/php7-pecl-krb5/Makefile diff --git a/lang/php7-pecl-krb5/Makefile b/lang/php7-pecl-krb5/Makefile new file mode 100644 index 000000000..daf2bd9f7 --- /dev/null +++ b/lang/php7-pecl-krb5/Makefile @@ -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:=krb5 +PECL_LONGNAME:=Bindings for the Kerberos library + +PKG_VERSION:=1.1.2 +PKG_RELEASE:=1 +PKG_HASH:=3301e047fc7dc3574da19b2a4b18e15feca5ad39db9335c3353a8e16b855c35b + +PKG_NAME:=php7-pecl-krb5 +PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://pecl.php.net/get/ + +PKG_MAINTAINER:=W. Michael Petullo + +PKG_LICENSE:=BSD +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-krb5=shared,"$(STAGING_DIR)/usr" + +$(eval $(call PECLPackage,krb5,$(PECL_LONGNAME),+krb5-libs,30)) +$(eval $(call BuildPackage,$(PKG_NAME)))