r524 - in x86/trunk: . packages/msmtp

justin at linuxfromscratch.org justin at linuxfromscratch.org
Tue Aug 2 15:27:21 PDT 2005


Author: justin
Date: 2005-08-02 16:27:21 -0600 (Tue, 02 Aug 2005)
New Revision: 524

Modified:
   x86/trunk/packages/msmtp/Makefile
   x86/trunk/todo-list
Log:
Updated msmtp Makefile.

Modified: x86/trunk/packages/msmtp/Makefile
===================================================================
--- x86/trunk/packages/msmtp/Makefile	2005-08-02 22:26:57 UTC (rev 523)
+++ x86/trunk/packages/msmtp/Makefile	2005-08-02 22:27:21 UTC (rev 524)
@@ -1,30 +1,56 @@
 # msmtp Makefile
+#==============================================================================
 
-# Package versions
 NM= msmtp
 VRS= 1.4.0
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.bz2
-URL= http://easynews.dl.sourceforge.net/sourceforge/msmtp/$(FILE)
+URL-$(FILE)= http://easynews.dl.sourceforge.net/sourceforge/msmtp/$(FILE)
+SHA-$(FILE)= b3b202883831d62d53d8cc7347fe5b654d6ed38f
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY: clean stage2 chroot
+include $(ROOT)/scripts/functions
 
-	@chroot "$(MP)" $(chenv-pre-bash) 'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
+chroot:
+	@chroot "$(MP)" $(chenv-post-bash) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-# This target is for building the package once we're already inside
-# the chroot environment.
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
-	@if [ ! -f /usr/bin/msmtp ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr --sysconfdir=/etc && \
-	 make -j3 && make install ; fi
-	@make clean
-	 
-# Does what it says
+stage2: Makefile $(FILE)
+	@$(std_build)
+
+compile-stage2:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=/usr --sysconfdir=/etc >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

Modified: x86/trunk/todo-list
===================================================================
--- x86/trunk/todo-list	2005-08-02 22:26:57 UTC (rev 523)
+++ x86/trunk/todo-list	2005-08-02 22:27:21 UTC (rev 524)
@@ -3,7 +3,6 @@
 hotplug
 inputattach
 lfs-bootscripts
-msmtp
 mutt
 nano
 ncftp




More information about the livecd mailing list