41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
|
# Tanım: Tcl betik dili
|
|||
|
# URL: http://www.tcl.tk/
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
|
|||
|
isim=tcl
|
|||
|
surum=8.6.4
|
|||
|
devir=1
|
|||
|
|
|||
|
kaynak=( http://downloads.sourceforge.net/$isim/$isim$surum-src.tar.gz)
|
|||
|
|
|||
|
derle() {
|
|||
|
# build package
|
|||
|
cd $isim$surum/unix
|
|||
|
|
|||
|
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
|
|||
|
}
|