diff --git a/srcpkgs/sqlite/template b/srcpkgs/sqlite/template index 456da609e00..d3ce5a34fe9 100644 --- a/srcpkgs/sqlite/template +++ b/srcpkgs/sqlite/template @@ -1,13 +1,14 @@ # Template file for 'sqlite' pkgname=sqlite -version=3.45.3 -revision=2 +version=3.49.2 +revision=1 _amalgamationver=$(printf "%d%02d%02d00\n" ${version//./ }) -build_style=gnu-configure +build_style=configure # Even when it is included in the build, memsys5 is disabled by default. configure_args="--enable-threadsafe --enable-load-extension --enable-math --enable-fts3 --enable-fts4 --enable-fts5 --enable-memsys5 - --enable-rtree --enable-geopoly + --enable-rtree --enable-geopoly --host=$XBPS_CROSS_TRIPLET + --prefix=/usr --soname=legacy --with-tcl=$XBPS_CROSS_BASE/usr/lib" hostmakedepends="tcl" makedepends="libedit-devel zlib-devel tcl-devel" @@ -16,8 +17,8 @@ maintainer="Orphaned " license="Public Domain" homepage="https://sqlite.org/" changelog="https://www.sqlite.org/changes.html" -distfiles="https://sqlite.org/2024/sqlite-src-${_amalgamationver}.zip" -checksum=ec0c959e42cb5f1804135d0555f8ea32be6ff2048eb181bccd367c8f53f185d1 +distfiles="https://sqlite.org/2025/sqlite-src-${_amalgamationver}.zip" +checksum=c3101978244669a43bc09f44fa21e47a4e25cdf440f1829e9eff176b9a477862 CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_COLUMN_METADATA \ -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE \ @@ -36,6 +37,10 @@ esac _tools="showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer" +post_configure() { + sed -i '/LDFLAGS.rpath/s/=.*/=/' Makefile +} + post_build() { make $_tools cd tool