Author: justin
Date: 2005-08-01 02:06:13 -0600 (Mon, 01 Aug 2005)
New Revision: 444

Modified:
   x86/trunk/packages/device-mapper/Makefile
Log:
Updated device-mapper Makefile.

Modified: x86/trunk/packages/device-mapper/Makefile
===================================================================
--- x86/trunk/packages/device-mapper/Makefile   2005-08-01 07:57:20 UTC (rev 
443)
+++ x86/trunk/packages/device-mapper/Makefile   2005-08-01 08:06:13 UTC (rev 
444)
@@ -1,29 +1,56 @@
 # device-mapper Makefile
+#==============================================================================
 
-# Package versions
 NM= device-mapper
 VRS= 1.01.01
 DIR= $(NM).$(VRS)
+
 FILE= $(DIR).tgz
-URL= ftp://sources.redhat.com/pub/dm/$(FILE)
+URL-$(FILE)= ftp://sources.redhat.com/pub/dm/$(FILE)
+SHA-$(FILE)= 388ea9cdd3fed3114068b63102d7d44371861229
 
-#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 /usr/lib/libdevmapper.so ] ; then unpack $(FILE) && cd 
$(DIR) && \
-        ./configure --prefix=/usr && \
-        make -j3 && \
-        make install ; fi
-       @make clean
+stage2: Makefile $(FILE)
+       @$(std_build)
 
+compile-stage2:
+       @$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+        @./configure --prefix=/usr >../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages==========================================
+#
+       @$(OK)
+       @$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+       @make $(PM) >>../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages===========================================
+#
+       @$(OK)
+       @$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+       @make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages===========================================
+#
+       @$(OK)
+
 clean:
        @-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to