2018-03-19 20:26:35 -04:00
|
|
|
package=ldns
|
2021-07-06 20:51:14 -04:00
|
|
|
$(package)_version=1.7.1
|
|
|
|
$(package)_download_path=https://www.nlnetlabs.nl/downloads/$(package)/
|
2018-03-19 20:26:35 -04:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2021-07-06 20:51:14 -04:00
|
|
|
$(package)_sha256_hash=8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229
|
2018-03-19 20:26:35 -04:00
|
|
|
$(package)_dependencies=openssl
|
|
|
|
|
|
|
|
define $(package)_set_vars
|
2019-06-17 05:25:10 -04:00
|
|
|
$(package)_config_opts=--disable-shared --enable-static --with-drill
|
|
|
|
$(package)_config_opts+=--with-ssl=$(host_prefix)
|
2018-03-19 20:26:35 -04:00
|
|
|
$(package)_config_opts_release=--disable-debug-mode
|
|
|
|
$(package)_config_opts_linux=--with-pic
|
|
|
|
endef
|
|
|
|
|
2019-06-26 18:25:47 -04:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
|
|
|
|
endef
|
|
|
|
|
2018-03-19 20:26:35 -04:00
|
|
|
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
|
2019-06-17 05:25:10 -04:00
|
|
|
rm lib/*.la
|
2018-03-19 20:26:35 -04:00
|
|
|
endef
|
2019-06-17 05:25:10 -04:00
|
|
|
|