tcl: 8.5.11 -> 8.6.4
This commit is contained in:
parent
8064d2fe8d
commit
0836659630
696
tcl/.footprint
696
tcl/.footprint
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
b01a9691c83990b3db0ce62d1012ca67 tcl8.5.11-src.tar.gz
|
||||
d7cbb91f1ded1919370a30edd1534304 tcl8.6.4-src.tar.gz
|
||||
|
45
tcl/Pkgfile
45
tcl/Pkgfile
@ -1,35 +1,54 @@
|
||||
# Description: A portable scripting environment for Unix, Windows, and Macintosh.
|
||||
# URL: http://tcl.sourceforge.net/
|
||||
# Description: The Tcl scripting language.
|
||||
# URL: http://www.tcl.tk/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Sven Dahl, dahl at c64 dot org
|
||||
|
||||
name=tcl
|
||||
version=8.5.11
|
||||
version=8.6.4
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/$name/Tcl/$version/$name$version-src.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name$version/unix
|
||||
CFLAGS+=' -fPIC' LDFLAGS+=' -fPIC'
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--without-tzdata \
|
||||
--enable-64bit
|
||||
|
||||
make
|
||||
make install install-private-headers INSTALL_ROOT=$PKG
|
||||
make INSTALL_ROOT=$PKG install install-private-headers
|
||||
|
||||
install -d $PKG/usr/include/tcl/{generic,unix,compat}
|
||||
cp ../generic/*.h $PKG/usr/include/tcl/generic
|
||||
cp ../unix/*.h $PKG/usr/include/tcl/unix
|
||||
cp ../compat/*.h $PKG/usr/include/tcl/compat
|
||||
|
||||
sed -i \
|
||||
-e "s|^TCL_BUILD_LIB_SPEC='-L.*/unix|TCL_BUILD_LIB_SPEC='-L/usr/lib|" \
|
||||
-e "s|^TCL_SRC_DIR='.*'|TCL_SRC_DIR='/usr/include/tcl'|" \
|
||||
-e "s|^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix|TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib|" \
|
||||
-e "s|^TCL_BUILD_STUB_LIB_PATH='.*/unix|TCL_BUILD_STUB_LIB_PATH='/usr/lib|" \
|
||||
$PKG/usr/lib/tclConfig.sh
|
||||
|
||||
ln -s tclsh${version%.*} $PKG/usr/bin/tclsh
|
||||
ln -s libtcl${version%.*}.so $PKG/usr/lib/libtcl.so
|
||||
ln -s libtclstub${version%.*}.a $PKG/usr/lib/libtclstub.a
|
||||
|
||||
chmod -R u+w $PKG/usr/man
|
||||
|
||||
# remove $SRC traces
|
||||
sed \
|
||||
-e "s|$SRC/tcl$version/unix|/usr/lib|g" \
|
||||
-e "s|$SRC/tcl$version|/usr/include|g" \
|
||||
-i $PKG/usr/lib/tclConfig.sh
|
||||
|
||||
local tdbcver=tdbc1.0.3
|
||||
sed \
|
||||
-e "s|$SRC/tcl$version/unix/pkgs/$tdbcver|/usr/lib/$tdbcver|g" \
|
||||
-e "s|$SRC/tcl$version/pkgs/$tdbcver/generic|/usr/include|g" \
|
||||
-e "s|$SRC/tcl$version/pkgs/$tdbcver/library|/usr/lib/tcl${version%.*}|g" \
|
||||
-e "s|$SRC/tcl$version/pkgs/$tdbcver|/usr/include|g" \
|
||||
-i $PKG/usr/lib/$tdbcver/tdbcConfig.sh
|
||||
|
||||
local itclver=itcl4.0.3
|
||||
sed \
|
||||
-e "s|$SRC/tcl$version/unix/pkgs/$itclver|/usr/lib/$itclver|g" \
|
||||
-e "s|$SRC/tcl$version/pkgs/$itclver/generic|/usr/include|g" \
|
||||
-e "s|$SRC/tcl$version/pkgs/$itclver|/usr/include|g" \
|
||||
-i $PKG/usr/lib/$itclver/itclConfig.sh
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user