r521 - in x86/trunk: . packages/reiser4progs

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Aug 2 15:16:17 PDT 2005


Author: jhuntwork
Date: 2005-08-02 16:16:16 -0600 (Tue, 02 Aug 2005)
New Revision: 521

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

Modified: x86/trunk/packages/reiser4progs/Makefile
===================================================================
--- x86/trunk/packages/reiser4progs/Makefile	2005-08-02 22:13:51 UTC (rev 520)
+++ x86/trunk/packages/reiser4progs/Makefile	2005-08-02 22:16:16 UTC (rev 521)
@@ -1,29 +1,57 @@
 # Reiser4progs Makefile
+#==============================================================================
 
-# Package versions
 NM= reiser4progs
-VRS= 1.0.4
+VRS= 1.0.4-1
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.gz
-URL= http://linuxberg.vc-graz.ac.at/mirror/reiserfs/reiser4progs/$(FILE)
+URL-$(FILE)= http://ftp.namesys.com/pub/reiser4progs/$(FILE) 
+SHA-$(FILE)= 42a15338e28d247511d079e22d41a66d82bf210e
 
-#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 /sbin/mkfs.reiser4 ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr --sbindir=/sbin && \
-	 make -j3 && \
-	 make install && ln -s mkfs.reiser4 /sbin/mkreiser4fs ; fi
-	@make clean
+stage2: Makefile $(FILE)
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=/usr --sbindir=/sbin >../$(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
+	@ln -s mkfs.reiser4 /sbin/mkreiser4fs
+#
+#==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:13:51 UTC (rev 520)
+++ x86/trunk/todo-list	2005-08-02 22:16:16 UTC (rev 521)
@@ -20,5 +20,4 @@
 procps
 psmisc
 raidtools
-reiser4progs
 shadow




More information about the livecd mailing list