Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(.../3.39.4.0)	(revision 445)
+++ Makefile	(.../3.49.1.0)	(revision 446)
@@ -58,15 +58,16 @@
 include ../../../build-system/constants.mk
 
 
-SOURCE_REQUIRES    = sources/packages/b/sqlite/2022
+SOURCE_REQUIRES    = sources/packages/b/sqlite/2025
 
-REQUIRES           = libs/readline/8.2
+REQUIRES           = libs/icu4c/76.1
+REQUIRES          += libs/readline/8.2
 
 # ======= __END_OF_REQUIRES__ =======
 
 
-version            = 3.39.4.0
-tar_gz_archive     = $(SRC_PACKAGE_PATH)/packages/b/sqlite/2022/sqlite-$(version).tar.gz
+version            = 3.49.1.0
+tar_gz_archive     = $(SRC_PACKAGE_PATH)/packages/b/sqlite/2025/sqlite-$(version).tar.gz
 SRC_ARCHIVE        = $(tar_gz_archive)
 SRC_DIR            = $(TARGET_BUILD_DIR)/sqlite-$(version)
 src_dir_name       = sqlite-$(version)
@@ -89,7 +90,7 @@
 # *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
 #
 SQLITE_PKG_NAME                = sqlite
-SQLITE_PKG_VERSION             = 3.39.4.0
+SQLITE_PKG_VERSION             = 3.49.1.0
 SQLITE_PKG_ARCH                = $(PKGARCH)
 SQLITE_PKG_DISTRO_NAME         = $(DISTRO_NAME)
 SQLITE_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
@@ -127,25 +128,17 @@
 
 
 extra_configure_switches  = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --sysconfdir=/etc
-extra_configure_switches += --localstatedir=/var
 
-extra_configure_switches += --enable-readline=yes
-extra_configure_switches += --enable-threadsafe=yes
-extra_configure_switches += --enable-dynamic-extensions=yes
+extra_configure_switches += --with-icu-config=$(TARGET_DEST_DIR)/usr/bin/icu-config
+extra_configure_switches += --with-readline-cflags='-I$(TARGET_DEST_DIR)/usr/include'
+extra_configure_switches += --with-readline-ldflags='-L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -lreadline -lncurses'
 
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
+ifneq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --disable-static
 endif
-extra_configure_switches += --enable-shared=yes
 
 
-CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA=1
+CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA=1 -Wno-stringop-overread
 
 
 ####### Dependencies
@@ -187,7 +180,7 @@
 	@cp -a $(license) \
 	       $(SQLITE_PKG)/usr/doc/$(src_dir_name)
 	@mkdir -p $(SQLITE_PKG)/usr/share/doc/$(src_dir_name)
-	@cp -a $(SRC_DIR)/INSTALL $(SRC_DIR)/README* \
+	@cp -a $(license) $(SRC_DIR)/README* \
 	       $(SQLITE_PKG)/usr/share/doc/$(src_dir_name)
 	@( cd $(SRC_DIR) ; \
 	   if [ -r ChangeLog ]; then \
@@ -196,17 +189,12 @@
 	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
 	   fi \
 	 )
-	# ======= remove toolchain path from target libtool *.la files =======
-	@( cd $(SQLITE_PKG)/usr/lib$(LIBSUFFIX) ; \
-	   sed -i "s,$(TARGET_DEST_DIR),,g" libsqlite?.la  \
+	# ======= remove TARGET_DEST_DIR from pkg-config *.pc files =======
+	@( cd $(SQLITE_PKG)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+	   sed -i "s,$(TARGET_DEST_DIR),,g" sqlite?.pc ; \
 	 )
 	# ======= Install the same to $(TARGET_DEST_DIR) =======
 	$(call install-into-devenv, $(SQLITE_PKG))
-	# ======= tune libtool *.la search path to the target destination for development =======
-	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
-	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsqlite?.la ; \
-	   sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsqlite?.la \
-	 )
 	# ======= tune pkg-config *.pc search path to the target destination for development =======
 	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
 	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" sqlite?.pc \