summaryrefslogtreecommitdiff
path: root/repo/system/tcl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/tcl.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/tcl.xibuild')
-rw-r--r--repo/system/tcl.xibuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/repo/system/tcl.xibuild b/repo/system/tcl.xibuild
index f9bebaa..cdd1455 100644
--- a/repo/system/tcl.xibuild
+++ b/repo/system/tcl.xibuild
@@ -2,7 +2,8 @@
DEPS=(zlib)
-SOURCE=https://github.com/tcltk/tcl/archive/refs/tags/core-8-6-11.tar.gz
+PKG_VER=8.6.11
+SOURCE=https://github.com/tcltk/tcl/archive/refs/tags/core-$( echo $PKG_VER | sed "s|\.|-|g").tar.gz
DESC="the Tool Command language, a robust general purpose scripting language"
@@ -37,7 +38,7 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
- chmod -v u+w $PKG_DEST/usr/lib/libtcl8.6.so
+ chmod -v u+w $PKG_DEST/usr/lib/libtcl$(echo $PKG_DEST | cut -d. -f-2).so
make DESTDIR=$PKG_DEST install-private-headers