blob: 192e4631b47057f461b8d941b755de61cefa5b80 (
plain)
1 # Description: A portable scripting environment for Unix, Windows, and Macintosh.
2 # URL: http://tcl.sourceforge.net/
3 # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
4 # Packager: Sven Dahl, dahl at c64 dot org
5
6 name=tcl
7 version=8.4.14
8 release=1
9 source=(http://dl.sourceforge.net/sourceforge/tcl/tcl$version-src.tar.gz)
10
11 build() {
12 cd tcl$version/unix/
13 ./configure --prefix=/usr
14 make
15 make install MKLINKS_FLAGS="-s" INSTALL_ROOT=$PKG
16
17 cp ../generic/*.h $PKG/usr/include/
18 cp tclUnixPort.h $PKG/usr/include/tclPort.h
19 cp tclUnixThrd.h $PKG/usr/include/tclThrd.h
20
21 sed -i -e "s|$SRC/tcl${version}/unix|/usr/lib|" $PKG/usr/lib/tclConfig.sh
22
23 rm $PKG/usr/include/regex.h
24
25 ln -sf tclsh8.4 $PKG/usr/bin/tclsh
26 find $PKG/usr/man -type f -print0 | xargs -0 chmod 644
27 }
|