From c5f0e38fdd0f7924ff1c0c6bad2ac300d3a1fbf6a606566356a3730887d10919 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 21 Nov 2025 10:57:51 +0300 Subject: [PATCH] Add Jim Tcl --- build/distfiles/.gitignore | 2 ++ .../jimtcl-0.83-94-g912c167.tar.zst.do | 7 +++++++ build/skel/devel/jimtcl-0.83-94-g912c167.do | 20 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 build/distfiles/jimtcl-0.83-94-g912c167.tar.zst.do create mode 100644 build/skel/devel/jimtcl-0.83-94-g912c167.do diff --git a/build/distfiles/.gitignore b/build/distfiles/.gitignore index 51254cf..6edd475 100644 --- a/build/distfiles/.gitignore +++ b/build/distfiles/.gitignore @@ -100,6 +100,8 @@ /iniparser-v4.2.2.tar.zst /iniparser.git/ /irssi-1.4.5.tar.xz +/jimtcl-0.83-94-g912c167.tar.zst +/jimtcl.git/ /json-glib-1.10.6.tar.xz /lame-3.100.tar.gz /lcms2-2.16.tar.gz diff --git a/build/distfiles/jimtcl-0.83-94-g912c167.tar.zst.do b/build/distfiles/jimtcl-0.83-94-g912c167.tar.zst.do new file mode 100644 index 0000000..729b988 --- /dev/null +++ b/build/distfiles/jimtcl-0.83-94-g912c167.tar.zst.do @@ -0,0 +1,7 @@ +[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../.. +sname=$1.do . "$BASS_ROOT"/lib/rc +[ -d jimtcl.git ] || git clone --depth 1 --bare https://github.com/msteveb/jimtcl.git >&2 +cd jimtcl.git +commit=912c167ed6dc5c2cb30bd57e20f10954503438e2 +git fetch origin $commit >&2 +git archive --prefix=${1%.tar.zst}/ $commit | $COMPRESSOR diff --git a/build/skel/devel/jimtcl-0.83-94-g912c167.do b/build/skel/devel/jimtcl-0.83-94-g912c167.do new file mode 100644 index 0000000..529666b --- /dev/null +++ b/build/skel/devel/jimtcl-0.83-94-g912c167.do @@ -0,0 +1,20 @@ +[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../../../.. +sname=$1.do . "$BASS_ROOT"/lib/rc +. "$BASS_ROOT"/build/skel/common.rc + +bdeps="rc-paths stow archivers/zstd" +redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.zst +hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH) +. "$BASS_ROOT"/build/lib/create-tmp-for-build.rc +"$BASS_ROOT"/build/bin/pkg-inst $bdeps +. ./rc +$TAR xf "$DISTFILES"/$NAME.tar.zst +"$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh + +cd $NAME +./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh --disable-lineedit >&2 +make -j$MAKE_JOBS >&2 +make install >&2 + +cd "$SKELBINS"/$ARCH +"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh -- 2.52.0