mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
72cb71c827
Now SHA256 has been shown to be an adequate replacement for SHA1, use SHA256 for verifying all port downloads. Ref #2767
30 lines
762 B
Plaintext
30 lines
762 B
Plaintext
LICENSE := GPLv3
|
|
VERSION := 1.14
|
|
DOWNLOADS := libiconv.archive
|
|
|
|
URL(libiconv) := http://ftp.gnu.org/pub/gnu/libiconv/libiconv-$(VERSION).tar.gz
|
|
SHA(libiconv) := 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613
|
|
SIG(libiconv) := ${URL(libiconv)}.sig
|
|
KEY(libiconv) := GNU
|
|
DIR(libiconv) := src/lib/libiconv
|
|
|
|
default: include/iconv/iconv.h
|
|
|
|
include/iconv/iconv.h: $(DOWNLOADS)
|
|
|
|
iconv_subst := \
|
|
"@DLL_VARIABLE@/" \
|
|
"@EILSEQ@/" \
|
|
"@ICONV_CONST@/" \
|
|
"@USE_MBSTATE_T@/1" \
|
|
"@BROKEN_WCHAR_H@/0" \
|
|
"@HAVE_WCHAR_T@/1"
|
|
|
|
apply_substitutions = for i in $(iconv_subst); do sed -i "s/$$i/g" $(1); done
|
|
|
|
include/iconv/iconv.h:
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
$(VERBOSE)cp src/lib/libiconv/include/iconv.h.in $@
|
|
$(VERBOSE)$(call apply_substitutions,$@)
|
|
|