Files
2026-03-21 12:43:00 -05:00

47 lines
1.5 KiB
TOML

[build]
type = "autotools"
[build.flags]
configure = [
"--mandir=/usr/share/man",
"--disable-rpath",
"LIBS=-lm"
]
post_compile = [
"sed -e \"s|$(realpath ..)/unix|/usr/lib|\" -e \"s|$(realpath ..)|/usr/include|\" -i tclConfig.sh",
"sed -e \"s|$(realpath ..)/unix/pkgs/tdbc1.1.12|/usr/lib/tdbc1.1.12|\" -e \"s|$(realpath ..)/pkgs/tdbc1.1.12/generic|/usr/include|\" -e \"s|$(realpath ..)/pkgs/tdbc1.1.12/library|/usr/lib/tcl8.6|\" -e \"s|$(realpath ..)/pkgs/tdbc1.1.12|/usr/include|\" -i pkgs/tdbc1.1.12/tdbcConfig.sh",
"sed -e \"s|$(realpath ..)/unix/pkgs/itcl4.3.4|/usr/lib/itcl4.3.4|\" -e \"s|$(realpath ..)/pkgs/itcl4.3.4/generic|/usr/include|\" -e \"s|$(realpath ..)/pkgs/itcl4.3.4|/usr/include|\" -i pkgs/itcl4.3.4/itclConfig.sh",
]
post_install = [
"chmod 644 $DESTDIR/usr/lib/libtclstub8.6.a",
"chmod -v u+w $DESTDIR/usr/lib/libtcl8.6.so",
"make DESTDIR=$DESTDIR install-private-headers",
"ln -sfv tclsh8.6 $DESTDIR/usr/bin/tclsh"
]
source_subdir = "tcl8.6.17/unix"
make_test_vars = [ "LC_ALL=C.UTF-8" ]
no_delete_static = true
[dependencies]
build = [
"sed",
"make",
"llvm",
]
runtime = [
"glibc",
"zlib-ng",
]
[package]
description = "The Tool Command Language"
homepage = "https://www.tcl-lang.org/"
license = "TCL"
name = "tcl"
version = "8.6.17"
[[source]]
extract_dir = "$name-$version"
sha256 = "md5:1ec3444533f54d0f86cd120058e15e48"
url = "https://sourceforge.net/projects/tcl/files/Tcl/$version/tcl$version-src.tar.gz"