r519 - in x86/trunk: . packages/reiserfsprogs

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Aug 2 15:10:38 PDT 2005


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

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

Modified: x86/trunk/packages/reiserfsprogs/Makefile
===================================================================
--- x86/trunk/packages/reiserfsprogs/Makefile	2005-08-02 22:09:38 UTC (rev 518)
+++ x86/trunk/packages/reiserfsprogs/Makefile	2005-08-02 22:10:38 UTC (rev 519)
@@ -1,30 +1,58 @@
 # ReiserFS Progs Makefile
+#==============================================================================
 
-# Package versions
 NM= reiserfsprogs
 VRS= 3.6.19
 DIR= $(NM)-$(VRS)
-FILE= $(DIR).tar.gz
-URL= http://linuxberg.vc-graz.ac.at/mirror/reiserfs/reiserfsprogs/$(FILE)
 
-#RULES
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= $(HTTPBLFS)/Q-R/$(FILE)
+SHA-$(FILE)= f0c0f74272e999e707dafb1e157e9daf5703850e
 
-.PHONY: clean chroot stage2
+# Targets
+# =============================================================================
 
+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/mkreiserfs ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr --sbindir=/sbin && \
-	 make -j3 && make install && \
-	 ln -s reiserfsck /sbin/fsck.reiserfs && \
-	 ln -s mkreiserfs /sbin/mkfs.reiserfs ; 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 reiserfsck /sbin/fsck.reiserfs
+	@ln -s mkreiserfs /sbin/mkfs.reiserfs
+#
+#==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:09:38 UTC (rev 518)
+++ x86/trunk/todo-list	2005-08-02 22:10:38 UTC (rev 519)
@@ -22,5 +22,4 @@
 psmisc
 raidtools
 reiser4progs
-reiserfsprogs
 shadow




More information about the livecd mailing list