From db3e17ef199215e5b8db511bf185550d7fc362956af74e1fe7fbb817a277672d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 22 Dec 2025 12:28:24 +0300 Subject: [PATCH] Jim Tcl 0.81 --- build/distfiles/.gitignore | 1 + build/distfiles/jimtcl-0.81.tar.zst.do | 7 +++++++ build/skel/devel/jimtcl-0.81.do | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 build/distfiles/jimtcl-0.81.tar.zst.do create mode 100644 build/skel/devel/jimtcl-0.81.do diff --git a/build/distfiles/.gitignore b/build/distfiles/.gitignore index 684ed37..f434359 100644 --- a/build/distfiles/.gitignore +++ b/build/distfiles/.gitignore @@ -99,6 +99,7 @@ /iniparser-v4.2.2.tar.zst /iniparser.git/ /irssi-1.4.5.tar.xz +/jimtcl-0.81.tar.zst /jimtcl-0.83-94-g912c167.tar.zst /jimtcl.git/ /json-glib-1.10.6.tar.xz diff --git a/build/distfiles/jimtcl-0.81.tar.zst.do b/build/distfiles/jimtcl-0.81.tar.zst.do new file mode 100644 index 0000000..d1fe899 --- /dev/null +++ b/build/distfiles/jimtcl-0.81.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=2553e31de2a0ab6ca5ae1de9f3bff3858e37701a +git fetch origin $commit >&2 +git archive --prefix=${1%.tar.zst}/ $commit | $COMPRESSOR diff --git a/build/skel/devel/jimtcl-0.81.do b/build/skel/devel/jimtcl-0.81.do new file mode 100644 index 0000000..5879ab7 --- /dev/null +++ b/build/skel/devel/jimtcl-0.81.do @@ -0,0 +1,21 @@ +[ -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 --full >&2 +make -j$MAKE_JOBS >&2 +make install >&2 + +cd "$SKELBINS"/$ARCH +"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh -- 2.52.0