mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
e5817f44a2
d8bc47fde4 depends: switch to secure download of all dependencies (Ulrich Kempken) Pull request description: Even if we potentially check the integrity of the downloaded file via hash comparison, we should make use of SSL since it is available. ACKs for commit d8bc47: jonasschnelli: utACK d8bc47fde46ca0711fa54a0d70ff5d066c708e50 practicalswift: utACK d8bc47fde46ca0711fa54a0d70ff5d066c708e50 dongcarl: tACK d8bc47fde46ca0711fa54a0d70ff5d066c708e50 Tree-SHA512: e47702f6d243ed7f498ca84c193244382f16f08df6a297caa224b4468f501f3da6fe542fcf3a0dd9c24ab1b0b38bbc51478068e6006a92854ded23abf90de3c8
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
package=bdb
|
|
$(package)_version=4.8.30
|
|
$(package)_download_path=https://download.oracle.com/berkeley-db
|
|
$(package)_file_name=db-$($(package)_version).NC.tar.gz
|
|
$(package)_sha256_hash=12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef
|
|
$(package)_build_subdir=build_unix
|
|
$(package)_patches=clang_cxx_11.patch
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --enable-cxx --disable-replication
|
|
$(package)_config_opts_mingw32=--enable-mingw
|
|
$(package)_config_opts_linux=--with-pic
|
|
$(package)_config_opts_android=--with-pic
|
|
$(package)_cflags+=-Wno-error=implicit-function-declaration
|
|
$(package)_cxxflags=-std=c++17
|
|
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/clang_cxx_11.patch && \
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub dist
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
../dist/$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) libdb_cxx-4.8.a libdb-4.8.a
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install_lib install_include
|
|
endef
|