genode/repos/libports/ports/jitterentropy.port

29 lines
1.1 KiB
Plaintext
Raw Normal View History

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 \
src/lib/jitterentropy/jitterentropy_memcpy.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