diff options
author | Daniel Golle <daniel@makrotopia.org> | 2016-09-26 09:29:05 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-09-26 10:14:29 +0200 |
commit | 6871e6b3798e80a9867da72d259680bd9474f9fa (patch) | |
tree | 17e4b286769e9655ee0d1ea3351102866cdc0f36 /libs/libp11/Makefile | |
parent | d302afe081b91980de1e363db56c59f55c107397 (diff) |
libp11: package PKCS#11 OpenSSL engine
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'libs/libp11/Makefile')
-rw-r--r-- | libs/libp11/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/libp11/Makefile b/libs/libp11/Makefile index 5d6b9babf..c477d2b1a 100644 --- a/libs/libp11/Makefile +++ b/libs/libp11/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libp11 PKG_VERSION:=0.4.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=70489f6dbe0b7fd72aab010c25016fa047723f67ea50ce9ae73bc8d38181b673 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> @@ -30,6 +30,7 @@ define Package/libp11 TITLE:=PKCS#11 wrapper library URL:=https://www.opensc-project.org/opensc/wiki/libp11 DEPENDS:=+libopenssl + CONFLICTS:=engine_pkcs11 endef define Package/libp11/description @@ -37,6 +38,8 @@ define Package/libp11/description to make using PKCS#11 implementations easier. endef +CONFIGURE_ARGS += --with-enginesdir=/usr/lib/engines + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libp11.h $(1)/usr/include/ @@ -48,8 +51,11 @@ define Build/InstallDev endef define Package/libp11/install - $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11.so.* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/engines + $(CP) $(PKG_INSTALL_DIR)/usr/lib/engines/*.so* $(1)/usr/lib/engines + $(LN) pkcs11.so $(1)/usr/lib/engines/libpkcs11.so endef $(eval $(call BuildPackage,libp11)) |