Author: jhuntwork
Date: 2005-07-24 09:10:41 -0600 (Sun, 24 Jul 2005)
New Revision: 400
Modified:
x86/trunk/packages/diffutils/Makefile
x86/trunk/packages/findutils/Makefile
Log:
Removed reference to a patch in diffutils, updated findutils
Modified: x86/trunk/packages/diffutils/Makefile
===================================================================
--- x86/trunk/packages/diffutils/Makefile 2005-07-24 15:04:54 UTC (rev
399)
+++ x86/trunk/packages/diffutils/Makefile 2005-07-24 15:10:41 UTC (rev
400)
@@ -51,7 +51,7 @@
@chroot "$(MP)" $(chenv-post-bash) \
'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
-stage2: Makefile $(FILE) $(PATCH1)
+stage2: Makefile $(FILE)
@$(std_build)
compile-stage2:
Modified: x86/trunk/packages/findutils/Makefile
===================================================================
--- x86/trunk/packages/findutils/Makefile 2005-07-24 15:04:54 UTC (rev
399)
+++ x86/trunk/packages/findutils/Makefile 2005-07-24 15:10:41 UTC (rev
400)
@@ -1,39 +1,90 @@
# Findutils Makefile
+#==============================================================================
-# Package versions
NM= findutils
VRS= 4.2.23
DIR= $(NM)-$(VRS)
+
FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 994048d2053f87bee493c97313d62eed57317dc5
-# RULES
+# Targets
+# =============================================================================
-.PHONY: stage1 clean chroot stage2
+include $(ROOT)/scripts/functions
-stage1:
- @echo ""
- @echo "=====> Building $(NM)"
- @echo ""
- @if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
- mv $(FILE) $(SRC) ; fi
- @if [ ! -f $(WD)/bin/find ] ; then unpack $(SRC)/$(FILE) && cd $(DIR)
&& \
- ./configure --prefix=$(WD) && make -j3 && make install ; fi
- @make clean
+stage1: $(FILE)
+ @$(std_build)
+ @cp $(SRC)/$(FILE) $(LFSSRC)
+compile-stage1:
+ @$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+ @./configure --prefix=$(WD) >../$(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)
+
chroot:
- @chroot "$(MP)" $(chenv-pre-bash) 'cd $(ROOT) && make ch-$(NM)
$(chbash-pre-bash)'
+ @chroot "$(MP)" $(chenv-pre-bash) \
+ 'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
-stage2:
- @echo ""
- @echo "=====> Building $(NM) in chroot"
- @echo ""
- @if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
- mv $(FILE) $(SRC) ; fi
- @if [ ! -f /usr/bin/find ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) &&
\
- ./configure --prefix=/usr --libexecdir=/usr/lib/locate
--localstatedir=/var/lib/locate && \
- make -j3 && make install ; fi
- @make clean
+stage2: Makefile $(FILE)
+ @$(std_build)
+compile-stage2:
+ @$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+ @./configure --prefix=/usr --libexecdir=/usr/lib/locate \
+ --localstatedir=/var/lib/locate >../$(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: compile-stage1 clean chroot compile-stage2
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page