genode/repos/libports/ports/curl.port

28 lines
969 B
Plaintext
Raw Normal View History

LICENSE := MIT
DOWNLOADS := curl.archive
VERSION := 7.29.0
URL(curl) := http://curl.haxx.se/download/archeology/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))