diff options
author | davidovski <david@davidovski.xyz> | 2021-10-06 17:19:20 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-06 17:19:20 +0100 |
commit | 0a31fc2a959ea1230d07cfd837f5a9a945a7f80a (patch) | |
tree | 4c9aef911135753e8cdffd849c3d071167886168 /repo/core/tcl.xibuild |
Initial commit, added core packages
Diffstat (limited to 'repo/core/tcl.xibuild')
-rw-r--r-- | repo/core/tcl.xibuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/core/tcl.xibuild b/repo/core/tcl.xibuild new file mode 100644 index 0000000..d5d0f7e --- /dev/null +++ b/repo/core/tcl.xibuild @@ -0,0 +1,29 @@ +#!/bin/bash + +DEPS=(zlib) + +SOURCE=https://github.com/tcltk/tcl +DESC="the Tool Command language, a robust general purpose scripting language" + + +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 + +} + + |