Install this version:
emerge -a =dev-tcltk/tclkit-8.6.4.9
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-tcltk/tclkit-8.6.4.9
Or alternatively:
emerge --autounmask-write -a =dev-tcltk/tclkit-8.6.4.9
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 8.6.4.9 | 8 | ~amd64 | 0 |
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Single file executable that provides a complete Tcl and Tk runtime."
HOMEPAGE="https://github.com/stiefel40k/kitgen"
MY_PV="${PV:0:5}-${PV:6}"
MY_PN="kitgen"
TCL_VERSION="8.6.11"
TK_VERSION="${TCL_VERSION}.1"
SRC_URI="https://github.com/stiefel40k/kitgen/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
https://downloads.sourceforge.net/project/tcl/Tcl/${TCL_VERSION}/tk${TK_VERSION}-src.tar.gz -> ${PN}-tk-${TK_VERSION}.tar.gz
https://downloads.sourceforge.net/project/tcl/Tcl/${TCL_VERSION}/tcl${TCL_VERSION}-src.tar.gz -> ${PN}-tcl-${TCL_VERSION}.tar.gz"
S="${WORKDIR}/${MY_PN}-${MY_PV}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="x11-base/xorg-proto
x11-libs/libX11
dev-libs/ucl"
RESTRICT="strip"
src_prepare() {
mkdir build || die
mv "../tcl${TCL_VERSION}" build/tcl || die
mv "../tk${TK_VERSION:0:6}" build/tk || die
sed -re '/.*\(\$\(LDCONFIG\) \|\| true\).*/d' -i 8.x/zlib/Makefile.in || die
default
}
src_configure() {
export B64=b64 options="thread allenc cli dyn"
./config.sh build/kit-large thread allenc cli dyn b64
}
src_compile() {
local -x MAKEOPTS=-j1
export B64=b64 options="thread allenc cli dyn"
cd build/kit-large || die
unset A
emake UPX=echo STRIP=echo
}
src_install() {
dobin build/kit-large/{tcl,}kit-*
dosym tclkit-cli /usr/bin/tclkit
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tclkit-8.6.4.9.tar.gz | 2408145 bytes | https://github.com/stiefel40k/kitgen/archive/8.6.4-9.tar.gz |
| DIST | tclkit-tcl-8.6.11.tar.gz | 10259009 bytes | https://downloads.sourceforge.net/project/tcl/Tcl/8.6.11/tcl8.6.11-src.tar.gz |
| DIST | tclkit-tk-8.6.11.1.tar.gz | 4496008 bytes | https://downloads.sourceforge.net/project/tcl/Tcl/8.6.11/tk8.6.11.1-src.tar.gz |