r435 - x86/trunk/packages/automake

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sun Jul 31 22:36:44 PDT 2005


Author: justin
Date: 2005-07-31 23:36:43 -0600 (Sun, 31 Jul 2005)
New Revision: 435

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

Modified: x86/trunk/packages/automake/Makefile
===================================================================
--- x86/trunk/packages/automake/Makefile	2005-08-01 04:56:32 UTC (rev 434)
+++ x86/trunk/packages/automake/Makefile	2005-08-01 05:36:43 UTC (rev 435)
@@ -1,31 +1,55 @@
 # Automake Makefile
+#==============================================================================
 
-# Package versions
 NM= automake
-VRS= 1.9.5
+VRS= 1.9.6
 DIR= $(NM)-$(VRS)
 FILE= $(DIR).tar.bz2
-URL= http://ftp.gnu.org/gnu/$(NM)/$(FILE)
-URL1= $(HTTP)/$(NM)/$(PATCH1)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= d205dbb274d3ff5be1cf6734f27fb452c7131866
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY:  clean stage2 chroot
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-pre-bash) 'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
+	@chroot "$(MP)" $(chenv-pre-bash) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
-	 mv $(FILE) $(SRC) ; fi
-	@if [ ! -f /usr/bin/automake ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr && \
-	 make -j3 && make install ; fi
-	@make clean
-	 
+stage2: Makefile $(FILE) $(PATCH1)
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=/usr >../$(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: compile-stage1 clean chroot compile-stage2




More information about the livecd mailing list