r478 - x86/trunk/packages/thunderbird

justin at linuxfromscratch.org justin at linuxfromscratch.org
Mon Aug 1 19:12:20 PDT 2005


Author: justin
Date: 2005-08-01 20:12:19 -0600 (Mon, 01 Aug 2005)
New Revision: 478

Modified:
   x86/trunk/packages/thunderbird/Makefile
Log:
Updated thunderbird Makefile.

Modified: x86/trunk/packages/thunderbird/Makefile
===================================================================
--- x86/trunk/packages/thunderbird/Makefile	2005-08-02 02:03:12 UTC (rev 477)
+++ x86/trunk/packages/thunderbird/Makefile	2005-08-02 02:12:19 UTC (rev 478)
@@ -2,28 +2,57 @@
 
 # Package versions
 NM= thunderbird
-VRS= 1.0.2
+VRS= 1.0.6
 DIR= mozilla
+
 FILE= $(NM)-$(VRS)-source.tar.bz2
-URL= http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$(VRS)/source/$(FILE)
+URL-$(FILE)= $(HTTPBLFS)/T-V/$(FILE)
+SHA-$(FILE)= 3edb2b98ceda5cb4cbd107757b629587f1a57069
 
-#RULES
+# Targets
+# =============================================================================
 
-.PHONY: clean chroot stage2
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
-	@if [ ! -f /usr/bin/thunderbird ] ; then unpack $(FILE) && cd $(DIR) && \
-	 sed 's!@TOPSRCDIR@!$(ROOT)/$(PKG)/$(NM)/mozilla!' ../.mozconfig > .mozconfig && \
-	 make -f client.mk build && make -f client.mk install && \
-	 cd $(ROOT)/$(PKG)/$(NM) ; fi
-	@make clean
+stage2: Makefile $(FILE)
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@sed 's!@TOPSRCDIR@!$(ROOT)/$(PKG)/$(NM)/mozilla!' \
+	 ../.mozconfig > .mozconfig
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make -f client.mk build >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make -f client.mk install >>../$(DIR)-$@.log 2>&1
+	@cd $(ROOT)/$(PKG)/$(NM)
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list