Index: .fossil-settings/ignore-glob ================================================================== --- .fossil-settings/ignore-glob +++ .fossil-settings/ignore-glob @@ -160,10 +160,15 @@ tclcurl/build tclcurl/build.log tclcurl/inst tclcurl/out tclcurl/src +nano/build +nano/build.log +nano/inst +nano/out +nano/src kitdll/buildsrc/kitdll-0.0/starpack.vfs kitdll/buildsrc/kitdll-0.0/starpack.vfs/* kitdll/buildsrc/kitdll-0.0/test kitdll/buildsrc/kitdll-0.0/configure kitdll/buildsrc/kitdll-0.0/libtcl*.so Index: build/web/kitcreator.vfs/index.rvt ================================================================== --- build/web/kitcreator.vfs/index.rvt +++ build/web/kitcreator.vfs/index.rvt @@ -67,10 +67,11 @@ set packages(nsf) "Next Scripting Framework" set packages(tdom) "tDOM" set packages(tuapi) "Tcl UNIX API" set packages(lmdb) "LMDB" set packages(tclcurl) "cURL" + set packages(nano) "Nano" set disable { platform linux-mipsel {package_tk package_tcc4tcl package_tclx kitdll} platform android-arm {package_tk package_tclx} platform freebsd-amd64 {package_tuapi} Index: kitcreator ================================================================== --- kitcreator +++ kitcreator @@ -32,11 +32,11 @@ echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2 fi fi # Define the list of all packages, for cleaning purposes -KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl tdom tuapi" +KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl tdom tuapi tclcurl lmdb nano" # Always rebuild kitsh rm -f "kitsh/.success" for pkg in ${KITCREATOR_ALLPKGS} ${KITCREATOR_PKGS}; do if [ "${mode}" != "retry" -o ! -f "${pkg}/.success" ]; then ADDED nano/build.sh Index: nano/build.sh ================================================================== --- /dev/null +++ nano/build.sh @@ -0,0 +1,19 @@ +#! /usr/bin/env bash + +# BuildCompatible: KitCreator + +version="1.0" +url="https://chiselapp.com/user/rkeene/repository/tcl-nano/uv/releases/tcl-nano-${version}.tar.gz" +sha256='16b599cf12b1dd2e1c74eb0a4382b933a5e1519144158360ff78bf161e14bca5' +configure_extra=(--enable-stubs) + +function preconfigure() { + sed -i 's@stack-protector-all@donot-stack-protector-all@g' configure +} + +function postinstall() { + rm -f "${installdir}/lib/tcl-nano${version}/nano.man" + if [ -f "${installdir}/lib/tcl-nano${version}/nano.lib" -a ! -f "${installdir}/lib/tcl-nano${version}/nano.a" ]; then + mv "${installdir}/lib/tcl-nano${version}/nano.lib" "${installdir}/lib/tcl-nano${version}/nano.a" + fi +}