mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
5b6bd8459f
The new 'verify' component facilitates the code of GnuPG to verify detached OpenPGP signatures against public keys. Since GnuPG depends on libgcrypt and libgpg-error, the patch adds these libraries to the libports repository. Fixes #2640
32 lines
872 B
Makefile
32 lines
872 B
Makefile
content: src/lib/libgcrypt src/lib/libgpg-error include lib/mk lib/import LICENSE
|
|
|
|
LIBGCRYPT_DIR := $(call port_dir,$(REP_DIR)/ports/libgcrypt)
|
|
LIBGCRYPT_SRC_DIR := $(LIBGCRYPT_DIR)/src/lib/libgcrypt
|
|
|
|
include:
|
|
cp -r $(LIBGCRYPT_DIR)/include/libgcrypt $@
|
|
|
|
src/lib/libgcrypt:
|
|
mkdir -p $@
|
|
cp -r $(addprefix $(LIBGCRYPT_SRC_DIR)/,src mpi cipher random compat) $@
|
|
cp $(REP_DIR)/src/lib/libgcrypt/config.h $@
|
|
cp $(REP_DIR)/src/lib/libgcrypt/mod-source-info.h $@
|
|
cp $(REP_DIR)/src/lib/libgcrypt/mpi/mpi-asm-defs.h $@/mpi
|
|
|
|
src/lib/libgpg-error:
|
|
mkdir -p $@
|
|
cp -r $(LIBGCRYPT_DIR)/src/lib/libgpg-error/src $@
|
|
cp $(REP_DIR)/src/lib/libgpg-error/config.h $@
|
|
|
|
lib/mk:
|
|
mkdir -p $@
|
|
cp $(addprefix $(REP_DIR)/lib/mk/,libgpg-error.mk libgcrypt.mk) $@
|
|
|
|
lib/import:
|
|
mkdir -p $@
|
|
cp $(REP_DIR)/lib/import/import-libgcrypt.mk $@
|
|
|
|
LICENSE:
|
|
cp $(LIBGCRYPT_SRC_DIR)/COPYING $@
|
|
|