genode/repos/libports/ports/jitterentropy.port
2021-12-17 15:04:48 +01:00

28 lines
1.0 KiB
Plaintext

LICENSE := BSD
VERSION := 1.2.0
DOWNLOADS := jitterentropy.archive
URL(jitterentropy) := http://www.chronox.de/jent/jitterentropy-$(VERSION).tar.xz
SHA(jitterentropy) := c2cadcc413b9f5f40b6cc0e092933a32585f7db8f28269af2bee794fde8034b2
SIG(jitterentropy) := ${URL(jitterentropy)}.asc
KEY(jitterentropy) := 5F0D446594D2BF6977A9828AF02C639D843B5F11
DIR(jitterentropy) := src/lib/jitterentropy
DIRS := include/jitterentropy
DIR_CONTENT(include/jitterentropy) := $(addprefix src/lib/jitterentropy/,\
jitterentropy.h)
PATCHES := src/lib/jitterentropy/jitterentropy_h.patch \
src/lib/jitterentropy/jitterentropy_delta_compare.patch
PATCH_OPT := -p1 -d src/lib/jitterentropy
#
# Just to make sure that the compiler will use the right header files
# we delete the local copy from the source directory after the files
# were copied to the include directory.
#
default: rm_header
rm_header: _dirs
@$(MSG_PREFIX)"remove header files from source directory "
$(VERBOSE)rm src/lib/jitterentropy/jitterentropy.h