29 lines
784 B
Plaintext
29 lines
784 B
Plaintext
# Description: A portable scripting environment for Unix, Windows, and Macintosh.
|
|
# URL: http://tcl.sourceforge.net/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Sven Dahl, dahl at c64 dot org
|
|
|
|
name=tcl
|
|
version=8.4.14
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/tcl/tcl$version-src.tar.gz)
|
|
|
|
build() {
|
|
cd tcl$version/unix/
|
|
./configure --prefix=/usr
|
|
make
|
|
make install MKLINKS_FLAGS="-s" INSTALL_ROOT=$PKG
|
|
|
|
cp ../generic/*.h $PKG/usr/include/
|
|
cp tclUnixPort.h $PKG/usr/include/tclPort.h
|
|
cp tclUnixThrd.h $PKG/usr/include/tclThrd.h
|
|
|
|
sed -i -e "s|$SRC/tcl${version}/unix|/usr/lib|" $PKG/usr/lib/tclConfig.sh
|
|
|
|
rm $PKG/usr/include/regex.h
|
|
|
|
ln -sf tclsh8.4 $PKG/usr/bin/tclsh
|
|
find $PKG/usr/man -type f -print0 | xargs -0 chmod 644
|
|
}
|
|
|