2006-02-23 15:26:10 +00:00
|
|
|
# Description: a portable scripting environment for Unix, Windows, and Macintosh
|
|
|
|
# URL: http://tcl.sourceforge.net
|
2006-09-28 14:04:26 +00:00
|
|
|
# Maintainer: Simone Rota, sip at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Packager: Sven Dahl, dahl at c64 dot org
|
|
|
|
|
|
|
|
name=tcl
|
2007-01-12 21:51:01 +01:00
|
|
|
version=8.4.14
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/tcl/tcl${version}-src.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $SRC/tcl${version}/unix/
|
2006-06-15 07:36:56 +00:00
|
|
|
sed -i "s/relid'/relid/" configure
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make MKLINKS_FLAGS="-s" INSTALL_ROOT=$PKG install
|
|
|
|
|
|
|
|
cp ../generic/*.h $PKG/usr/include/
|
|
|
|
cp tclUnixPort.h $PKG/usr/include/tclPort.h
|
|
|
|
cp tclUnixThrd.h $PKG/usr/include/tclThrd.h
|
|
|
|
|
|
|
|
sed -i "s|$SRC/tcl${version}/unix|/usr/lib|" $PKG/usr/lib/tclConfig.sh
|
|
|
|
|
|
|
|
rm $PKG/usr/include/regex.h
|
|
|
|
ln -s tclsh8.4 $PKG/usr/bin/tclsh
|
|
|
|
find $PKG/usr/man -type f -exec chmod a-x,u+w {} \;
|
|
|
|
}
|