2023-02-04 19:26:20 +01:00
|
|
|
package=sqlite
|
2022-06-15 10:16:57 +02:00
|
|
|
$(package)_version=3380500
|
|
|
|
$(package)_download_path=https://sqlite.org/2022/
|
2023-02-04 19:26:20 +01:00
|
|
|
$(package)_file_name=sqlite-autoconf-$($(package)_version).tar.gz
|
2022-06-15 10:16:57 +02:00
|
|
|
$(package)_sha256_hash=5af07de982ba658fd91a03170c945f99c971f6955bc79df3266544373e39869c
|
2023-02-04 19:26:20 +01:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
|
|
|
$(package)_config_opts=--disable-shared --disable-readline --disable-dynamic-extensions --enable-option-checking
|
|
|
|
$(package)_config_opts_linux=--with-pic
|
2023-06-30 17:51:32 +02:00
|
|
|
$(package)_config_opts_freebsd=--with-pic
|
2022-02-14 21:16:56 +01:00
|
|
|
$(package)_config_opts_netbsd=--with-pic
|
2023-06-30 18:00:24 +02:00
|
|
|
$(package)_config_opts_openbsd=--with-pic
|
2023-02-04 19:26:20 +01:00
|
|
|
endef
|
|
|
|
|
2021-05-03 13:51:45 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
|
|
|
|
endef
|
|
|
|
|
2023-02-04 19:26:20 +01:00
|
|
|
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
|