milis/talimatname/genel/t/tcl/talimat

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Tcl betik dili
2016-02-24 01:27:23 +01:00
# URL: http://www.tcl.tk/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=tcl
surum=8.6.4
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=( http://downloads.sourceforge.net/$isim/$isim$surum-src.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
# build package
2017-10-28 14:10:23 +02:00
cd $isim$surum/unix
2016-02-24 01:27:23 +01:00
if [ "$CARCH" = "x86_64" ]; then
./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit
else
./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit
fi
make
sed -e "s#$SRCDIR/unix#/usr/lib#" \
-e "s#$SRCDIR#/usr/include#" \
-i tclConfig.sh
sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.3#/usr/lib/tdbc1.0.3#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.3/generic#/usr/include#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.3/library#/usr/lib/tcl8.6#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.3#/usr/include#" \
-i pkgs/tdbc1.0.3/tdbcConfig.sh
sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.3#/usr/lib/itcl4.0.3#" \
-e "s#$SRCDIR/pkgs/itcl4.0.3/generic#/usr/include#" \
-e "s#$SRCDIR/pkgs/itcl4.0.3#/usr/include#" \
-i pkgs/itcl4.0.3/itclConfig.sh
unset SRCDIR
make DESTDIR=$PKG install
make DESTDIR=$PKG install-private-headers
ln -svf tclsh8.6 $PKG/usr/bin/tclsh
chmod -v 755 $PKG/usr/lib/libtcl8.6.so
}