r557 - in x86/trunk: . packages/procps

justin at linuxfromscratch.org justin at linuxfromscratch.org
Mon Aug 8 17:38:13 PDT 2005


Author: justin
Date: 2005-08-08 18:38:11 -0600 (Mon, 08 Aug 2005)
New Revision: 557

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

Modified: x86/trunk/packages/procps/Makefile
===================================================================
--- x86/trunk/packages/procps/Makefile	2005-08-09 00:33:37 UTC (rev 556)
+++ x86/trunk/packages/procps/Makefile	2005-08-09 00:38:11 UTC (rev 557)
@@ -1,29 +1,47 @@
 # Procps Makefile
+#==============================================================================
 
-# Package versions
 NM= procps
 VRS= 3.2.5
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 188d0ccd6c7a655ae556fe1078c346cda1aca164
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY:  clean stage2 chroot
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-post-bash) 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+	@chroot "$(MP)" $(chenv-post-bash) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
-	 mv $(FILE) $(SRC) ; fi
-	@if [ ! -f /bin/ps ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) && \
-	 make -j3 && make install ; fi
-	@make clean
-	 
+stage2: Makefile $(FILE)
+	@$(std_build)
 
+compile-stage2:
+	@$(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-09 00:33:37 UTC (rev 556)
+++ x86/trunk/todo-list	2005-08-09 00:38:11 UTC (rev 557)
@@ -1,2 +1 @@
-procps
 psmisc




More information about the livecd mailing list