r383 - x86/trunk/packages/tcl

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Jul 19 04:38:49 PDT 2005


Author: jhuntwork
Date: 2005-07-19 05:38:49 -0600 (Tue, 19 Jul 2005)
New Revision: 383

Modified:
   x86/trunk/packages/tcl/Makefile
Log:
Updated tcl

Modified: x86/trunk/packages/tcl/Makefile
===================================================================
--- x86/trunk/packages/tcl/Makefile	2005-07-19 11:23:50 UTC (rev 382)
+++ x86/trunk/packages/tcl/Makefile	2005-07-19 11:38:49 UTC (rev 383)
@@ -1,24 +1,54 @@
 # Tcl Makefile
+#==============================================================================
 
-# Package versions
 NM= tcl
-VRS= 8.4.9
-DIR= $(NM)$(VRS)
+VRS= 8.4.11
+DIR= $(NM)-$(VRS)
+
 FILE= $(DIR)-src.tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY: stage1 clean
+include $(ROOT)/scripts/functions
 
-stage1:
-	@echo ""
-	@echo "=====> Building $(NM)"
-	@echo ""
-	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
-	 mv $(FILE) $(SRC) ; fi
-	@if [ ! -f $(WD)/bin/tclsh ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) && \
-	 cd unix && ./configure --prefix=$(WD) && make -j3 && make install && ln -s tclsh8.4 $(WD)/bin/tclsh ; fi
+stage1: $(FILE)
+	@$(std_build)
+	@cp $(SRC)/$(FILE) $(LFSSRC)
 
+compile-stage1:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@cd unix ; ./configure --prefix=$(WD) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@cd unix ; make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@cd unix ; make install >>../$(DIR)-$@.log 2>&1
+	@ln -s tclsh8.4 $(WD)/bin/tclsh
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: compile-stage1 clean chroot




More information about the livecd mailing list