Port tcl and add sqlite-test

This commit is contained in:
Wildan M 2026-06-07 08:08:18 +07:00
parent bf82d7d11d
commit 98eaa84966
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
2 changed files with 29 additions and 3 deletions

View File

@ -1,9 +1,17 @@
#TODO maybe wrong template, see https://www.tcl.tk/doc/howto/compile.html#unix #TODO compiled but not tested
[source] [source]
tar = "http://prdownloads.sourceforge.net/tcl/tcl8.6.13-src.tar.gz" tar = "http://prdownloads.sourceforge.net/tcl/tcl8.6.13-src.tar.gz"
blake3 = "a44611c5d38d7dbc1e6ce49d6a78ae7d43817b861412b54b30357bc431510978"
[build] [build]
template = "custom" template = "custom"
script = """ script = """
cd unix DYNAMIC_INIT
COOKBOOK_CONFIGURE="$COOKBOOK_SOURCE/unix/configure"
COOKBOOK_CONFIGURE_FLAGS+=(
ac_cv_func_memcmp_working=yes
tcl_cv_strstr_unbroken=
tcl_cv_strtoul_unbroken=
)
cookbook_configure cookbook_configure
""" """

View File

@ -0,0 +1,18 @@
[source]
git = "https://github.com/sqlite/sqlite"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/sqlite-test"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/sqlite-test"
"""
[package]
dependencies = [
"gcc13",
"gnu-binutils",
"gnu-make",
"tcl",
]