genode/repos/libports/ports/curl.port
Emery Hemingway 72cb71c827 Replace SHA1 hashes of port downloads with SHA256
Now SHA256 has been shown to be an adequate replacement for SHA1, use
SHA256 for verifying all port downloads.

Ref #2767
2018-05-30 13:36:22 +02:00

28 lines
958 B
Plaintext

LICENSE := MIT
DOWNLOADS := curl.archive
VERSION := 7.29.0
URL(curl) := http://curl.haxx.se/download/curl-$(VERSION).tar.gz
SHA(curl) := 67dc5b952ac489191b62dbe95b18d336b821649f61404a280186c72e8cd0b9d6
SIG(curl) := ${URL(curl)}.asc
KEY(curl) := daniel@haxx.se
DIR(curl) := src/lib/curl
PATCHES := src/lib/curl/*.patch
#
# Assemble public include directory. Filter out 'curlbuild.h' because we
# provide a custom version of this file in 'libports/include/curl/'.
#
# Don't use ':=' for the definition of 'DIR_CONTENT(include/curl)' and
# 'curl_headers' to defer the evaluation to the time when the directories are
# created. Otherwise, the '$(wildcard)' would be executed before the
# downloads are complete.
#
curl_include_dir := src/lib/curl/include/curl
curl_headers = $(filter-out curlbuild.h,$(notdir $(wildcard $(curl_include_dir)/*.h)))
DIRS := include/curl
DIR_CONTENT(include/curl) = $(addprefix $(curl_include_dir)/,$(curl_headers))