Explorar el Código

p11-kit: install opensc.module if opensc is enabled.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos hace 10 años
padre
commit
6308984c48
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. 4
    0
      libs/p11-kit/Makefile
  2. 1
    0
      libs/p11-kit/files/opensc.module

+ 4
- 0
libs/p11-kit/Makefile Ver fichero

@@ -50,6 +50,10 @@ endef
50 50
 define Package/p11-kit/install
51 51
 	$(INSTALL_DIR) $(1)/usr/lib
52 52
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11-kit.so.* $(1)/usr/lib/
53
+	$(INSTALL_DIR) $(1)/etc/p11-kit/modules/
54
+ifneq ($(CONFIG_PACKAGE_libopensc),)
55
+	$(CP) ./files/opensc.module $(1)/etc/p11-kit/modules/
56
+endif
53 57
 endef
54 58
 
55 59
 $(eval $(call BuildPackage,p11-kit))

+ 1
- 0
libs/p11-kit/files/opensc.module Ver fichero

@@ -0,0 +1 @@
1
+module: /usr/lib/opensc-pkcs11.so