mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
7181c721e2
excludes `fix_openbsd_test_lib.patch` as it's already present ``` Preprocessing boost... patching file boost/test/impl/execution_monitor.ipp Reversed (or previously applied) patch detected! Assume -R? [n] ```
33 lines
940 B
Makefile
33 lines
940 B
Makefile
package=sqlite
|
|
$(package)_version=3380500
|
|
$(package)_download_path=https://sqlite.org/2022/
|
|
$(package)_file_name=sqlite-autoconf-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=5af07de982ba658fd91a03170c945f99c971f6955bc79df3266544373e39869c
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --disable-readline --disable-dynamic-extensions --enable-option-checking
|
|
$(package)_config_opts_linux=--with-pic
|
|
$(package)_config_opts_freebsd=--with-pic
|
|
$(package)_config_opts_openbsd=--with-pic
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) libsqlite3.la
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm lib/*.la
|
|
endef
|