blob: 4eab78aa086c4c7163e7563b73cd30d252e984dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Description: Tool Command Language, the language and library
# URL: https://core.tcl-lang.org/tk/
# Maintainer: Shokara Kou, shokara at kalli dot st
name=tk
version=8.6.12
release=1
source=(https://core.tcl-lang.org/$name/tarball/release/$name-$version.tar.gz)
build() {
cd $name-$version/unix
./configure \
--prefix=/usr
# configure script doesn't appear to have a way to disable docs
sed -i 's/^all:.*doc/all: binaries libraries/' Makefile
make
make DESTDIR=$PKG install
rm -fr $PKG/share/doc
cd $PKG/usr/bin
ln -s /usr/bin/wish8.6 wish
}
|