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.

47 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2011-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=engine_pkcs11
  9. PKG_VERSION:=20131021
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_URL:=https://github.com/OpenSC/engine_pkcs11.git
  15. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  16. PKG_SOURCE_VERSION:=5abdc7e0d6d519d2514e3eccc116b335bc427254
  17. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  18. PKG_FIXUP:=libtool
  19. PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/engine_pkcs11
  23. SECTION:=libs
  24. CATEGORY:=Libraries
  25. TITLE:=PKCS#11 OpenSSL engine
  26. URL:=https://www.opensc-project.org/opensc/wiki/
  27. DEPENDS:=+libopenssl +libp11
  28. endef
  29. define Package/engine_pkcs11/description
  30. engine_pkcs11 is an implementation of OpenSSL engine interface.
  31. endef
  32. define Package/engine_pkcs11/install
  33. $(INSTALL_DIR) $(1)/usr/lib/engines
  34. $(CP) $(PKG_INSTALL_DIR)/usr/lib/engines/engine_pkcs11.so $(1)/usr/lib/engines/
  35. endef
  36. $(eval $(call BuildPackage,engine_pkcs11))