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.

48 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:=20150429
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=LGPL-2.1+
  13. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  14. PKG_SOURCE_PROTO:=git
  15. PKG_SOURCE_URL:=https://github.com/OpenSC/engine_pkcs11.git
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=0cc9d88eb291f5c545e5bc91d56866a2e0e95d48
  18. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  19. PKG_FIXUP:=libtool
  20. PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/engine_pkcs11
  24. SECTION:=libs
  25. CATEGORY:=Libraries
  26. TITLE:=PKCS#11 OpenSSL engine
  27. URL:=https://www.opensc-project.org/opensc/wiki/
  28. DEPENDS:=+libopenssl +libp11
  29. endef
  30. define Package/engine_pkcs11/description
  31. engine_pkcs11 is an implementation of OpenSSL engine interface.
  32. endef
  33. define Package/engine_pkcs11/install
  34. $(INSTALL_DIR) $(1)/usr/lib/engines
  35. $(CP) $(PKG_INSTALL_DIR)/usr/lib/engines/engine_pkcs11.so $(1)/usr/lib/engines/
  36. endef
  37. $(eval $(call BuildPackage,engine_pkcs11))