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)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages==========================================
+#
+ @$(OK)
+ @$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+ @cd unix ; make $(PM) >>../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages==========================================
+#
+ @$(OK)
+ @$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+ @cd unix ; make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
+ @ln -s tclsh8.4 $(WD)/bin/tclsh
+#
+#==Status Messages==========================================
+#
+ @$(OK)
+
clean:
@-rm -rf $(DIR)
+
+.PHONY: compile-stage1 clean chroot
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page