engine_pkcs11: update to release version 0.2.2
[feed/packages.git] / libs / engine_pkcs11 / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=engine_pkcs11
11 PKG_VERSION:=0.2.2
12 PKG_RELEASE:=1
13 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
14 PKG_LICENSE:=LGPL-2.1+
15
16 PKG_SOURCE_URL:=https://github.com/OpenSC/engine_pkcs11/releases/download/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18
19 PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE
20
21 include $(INCLUDE_DIR)/package.mk
22
23 PKG_FIXUP:=libtool
24 PKG_INSTALL:=1
25
26 CONFIGURE_ARGS += --with-enginesdir=/usr/lib/engines
27
28 define Package/engine_pkcs11
29 SECTION:=libs
30 CATEGORY:=Libraries
31 TITLE:=PKCS#11 OpenSSL engine
32 URL:=https://www.opensc-project.org/opensc/wiki/
33 DEPENDS:=+libopenssl +libp11
34 endef
35
36 define Package/engine_pkcs11/description
37 engine_pkcs11 is an implementation of OpenSSL engine interface.
38 endef
39
40 define Package/engine_pkcs11/install
41 $(INSTALL_DIR) $(1)/usr/lib/engines
42 $(CP) $(PKG_INSTALL_DIR)/usr/lib/engines/libpkcs11.so $(1)/usr/lib/engines/
43 endef
44
45 $(eval $(call BuildPackage,engine_pkcs11))