mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 11:13:13 +00:00
8db3d5731b
Add readline, ldns, graphviz, unbound to depends packages Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake Add the boost locale package to depends In the depends cmake toolchain file, a DEPENDS flag is added to exclude, or change cmake checks done that are required for depends Link miniupnpc and unwind from depends and not external Add libiconv and icu4c to depends, required for mingw32 builds. Headers (winsock) need to be lower case in order to compile on unix systems. This should not affect building on windows.
28 lines
815 B
Makefile
28 lines
815 B
Makefile
package=ldns
|
|
$(package)_version=1.6.17
|
|
$(package)_download_path=http://www.nlnetlabs.nl/downloads/ldns/
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd
|
|
$(package)_dependencies=openssl
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --enable-static --disable-dane-ta-usage --with-drill
|
|
$(package)_config_opts=--with-ssl=$(host_prefix)
|
|
$(package)_config_opts_release=--disable-debug-mode
|
|
$(package)_config_opts_linux=--with-pic
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-h install-lib
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
endef
|