From cdea2f67ae42d4220e19a555259b69a960925283 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 5 Oct 2021 16:35:17 +0100 Subject: renamed --- xibuilds/tcl.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 xibuilds/tcl.xibuild (limited to 'xibuilds/tcl.xibuild') diff --git a/xibuilds/tcl.xibuild b/xibuilds/tcl.xibuild new file mode 100644 index 0000000..16442f4 --- /dev/null +++ b/xibuilds/tcl.xibuild @@ -0,0 +1,28 @@ +#!/bin/bash + +DEPS=(zlib) + +SOURCE=https://github.com/tcltk/tcl + + +build () { + SRCDIR=$(pwd) + cd unix + ./configure --prefix=/usr --mandir=/usr/share/man $([ "$(uname -m)" = x86_64 ] && echo --enable-64bit) + + make test + + make DESTDIR=$PKG_DEST install + + chmod -v u+w $PKG_DEST/usr/lib/libtcl8.6.so + + make DESTDIR=$PKG_DEST install-private-headers +} + +package () { + cp -f tclsh8.6 $PKG_DEST/usr/bin/tclsh + mv $PKG_DEST/usr/share/man/man3/{Thread,Tcl_Thread}.3 + +} + + -- cgit v1.2.1