r422 - x86/trunk/packages/nALFS-profile

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Jul 29 08:12:38 PDT 2005


Author: jhuntwork
Date: 2005-07-29 09:12:37 -0600 (Fri, 29 Jul 2005)
New Revision: 422

Modified:
   x86/trunk/packages/nALFS-profile/Makefile
Log:
Updated nALFS-profile

Modified: x86/trunk/packages/nALFS-profile/Makefile
===================================================================
--- x86/trunk/packages/nALFS-profile/Makefile	2005-07-29 14:11:01 UTC (rev 421)
+++ x86/trunk/packages/nALFS-profile/Makefile	2005-07-29 15:12:37 UTC (rev 422)
@@ -1,29 +1,40 @@
 # nALFS profile Makefile
+#==============================================================================
 
-# Package versions
 NM= profile
 VRS= LFS-6.1
 DIR= $(VRS)
+
 FILE= $(NM)-$(DIR).tar.bz2
-URL= http://www.linuxfromscratch.org/alfs/downloads/profiles/stable/$(FILE)
+URL-$(FILE)= http://www.linuxfromscratch.org/alfs/downloads/profiles/stable/$(FILE)
+SHA-$(FILE)= e4be78e5de2e71ba7b48013483142aa62fc7283f
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY: stage1 clean stage2 chroot
+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 [ ! -d /root/$(DIR) ] ; then unpack $(FILE) && \
-	 sed -i 's@/your/$(DIR)/packages@/sources at g' $(DIR)/config/general.ent && \
-	 cp -ra $(DIR) /root/nALFS-profile-$(DIR) ; fi
-	@make clean
-	 
-# Does what it says
+stage2: Makefile $(FILE)
+	@$(std_build)
+
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@sed -i 's@/your/$(DIR)/packages@/sources at g' $(DIR)/config/general.ent
+	@cp -rav $(DIR) /root/nALFS-profile-$(DIR) >../$(DIR)-$@.log 2>&1
+
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list