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 '[EMAIL PROTECTED]@!$(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 '[EMAIL PROTECTED]@!$(ROOT)/$(PKG)/$(NM)/mozilla!' \
+        ../.mozconfig > .mozconfig
+#
+#==Status Messages==========================================
+#
+       @$(OK)
+       @$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+       @make -f client.mk build >../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages===========================================
+#
+       @$(OK)
+       @$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+       @make -f client.mk install >>../$(DIR)[EMAIL PROTECTED] 2>&1
+       @cd $(ROOT)/$(PKG)/$(NM)
+#
+#==Status Messages===========================================
+#
+       @$(OK)
+
 clean:
        @-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to