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.

39 lines
976 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:=krb5
  7. PECL_LONGNAME:=Bindings for the Kerberos library
  8. PKG_VERSION:=1.1.2
  9. PKG_RELEASE:=3
  10. PKG_HASH:=3301e047fc7dc3574da19b2a4b18e15feca5ad39db9335c3353a8e16b855c35b
  11. PKG_NAME:=php7-pecl-krb5
  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:=MIT
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DEPENDS:=php7
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_FIXUP:=autoreconf
  21. include $(INCLUDE_DIR)/package.mk
  22. include $(INCLUDE_DIR)/nls.mk
  23. include ../php7/pecl.mk
  24. CONFIGURE_ARGS+= \
  25. --with-krb5=shared,"$(STAGING_DIR)/usr" \
  26. --with-krb5config=$(STAGING_DIR)/usr/bin/krb5-config
  27. $(eval $(call PECLPackage,krb5,$(PECL_LONGNAME),+krb5-libs,30))
  28. $(eval $(call BuildPackage,$(PKG_NAME)))