#
#
#	  Name: tcl.mk
#		CSCRATCH make include file for Tcl for La Casita
#
#

#SC_VRM		=	tcl8.4.4
#SC_VRM		=	tcl8.4.6
#SC_VRM		=	tcl8.5.5
SC_VRM		=	tcl8.5.6

SC_URL		=	\
 http://superb-east.dl.sourceforge.net/sourceforge/tcl/$(SC_VRM)-src.tar.gz

SC_FETCH	=	rm -f $(SC_VRM).tar.gz $(SC_VRM)-src.tar.gz ; \
			$(PWD)/cscgetsf.sh tcl/$(SC_VRM)-src.tar.gz ; \
			ln -s $(SC_VRM)-src.tar.gz $(SC_VRM).tar.gz




SC_CONFIG	=	cd unix ; \
			./configure --prefix=/usr --disable-nls
SC_BUILD	=	cd unix ; $(MAKE)
SC_INSTALL	=	rm -f /usr/bin/tclsh* ; \
			cd unix ; $(MAKE) install
SC_FIXUP	=	cd /usr/bin ; \
			rm tclsh ; \
			strip tclsh* ; \
			ln -s tclsh* tclsh




