mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Migrate to the new Autosetup build system (introduced in 3.48.0). See https://msteveb.github.io/autosetup/. Also: https://sqlite.org/releaselog/3_50_0.html.
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
package=sqlite
|
|
$(package)_version=3500400
|
|
$(package)_download_path=https://sqlite.org/2025/
|
|
$(package)_file_name=sqlite-autoconf-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=a3db587a1b92ee5ddac2f66b3edb41b26f9c867275782d46c3a088977d6a5b18
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts = --disable-shared --disable-readline --disable-rtree
|
|
$(package)_config_opts += --disable-fts4 --disable-fts5
|
|
$(package)_config_opts_debug += --debug
|
|
$(package)_cppflags += -DSQLITE_DQS=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DEPRECATED
|
|
$(package)_cppflags += -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_JSON -DSQLITE_LIKE_DOESNT_MATCH_BLOBS
|
|
$(package)_cppflags += -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_AUTOINIT
|
|
$(package)_cppflags += -DSQLITE_OMIT_LOAD_EXTENSION
|
|
endef
|
|
|
|
# Remove --with-pic, which is applied globally to configure
|
|
# invocations but is incompatible with Autosetup
|
|
define $(package)_config_cmds
|
|
$$(filter-out --with-pic,$($(package)_autoconf))
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) libsqlite3.a
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-headers install-lib
|
|
endef
|