Author: thomasp
Date: 2005-08-01 13:44:16 -0600 (Mon, 01 Aug 2005)
New Revision: 466
Modified:
x86/trunk/packages/file/Makefile
Log:
Updated file Makefile
Modified: x86/trunk/packages/file/Makefile
===================================================================
--- x86/trunk/packages/file/Makefile 2005-08-01 19:29:35 UTC (rev 465)
+++ x86/trunk/packages/file/Makefile 2005-08-01 19:44:16 UTC (rev 466)
@@ -1,30 +1,57 @@
# File Makefile
+#==============================================================================
-# Package versions
NM= file
-VRS= 4.13
+VRS= 4.14
DIR= $(NM)-$(VRS)
+
FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 1ea4ef15a12fd90ab82f896c39d7586f25f7d60e
-# 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 /usr/bin/file ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) &&
\
- ./configure --prefix=/usr && \
- make -j3 && make install ; fi
- @make clean
-
+stage2: Makefile $(FILE)
+ @$(std_build)
+ @cp $(SRC)/$(FILE) $(LFSSRC)
+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