Author: thomasp
Date: 2005-08-01 09:58:30 -0600 (Mon, 01 Aug 2005)
New Revision: 454
Modified:
x86/trunk/packages/iana-etc/Makefile
Log:
Updated iana-etc Makefile
Modified: x86/trunk/packages/iana-etc/Makefile
===================================================================
--- x86/trunk/packages/iana-etc/Makefile 2005-08-01 15:45:39 UTC (rev
453)
+++ x86/trunk/packages/iana-etc/Makefile 2005-08-01 15:58:30 UTC (rev
454)
@@ -1,29 +1,48 @@
# Iana-etc Makefile
+#==============================================================================
-# Package versions
NM= iana-etc
-VRS= 1.04
+VRS= 1.10
DIR= $(NM)-$(VRS)
+
FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 1e3583dd2347123a2e59767b24b9e89d9ddc4462
-# RULES
+# Targets
+# =============================================================================
-.PHONY: chroot stage2 clean
+include $(ROOT)/scripts/functions
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 /etc/protocols ] ; then unpack $(SRC)/$(FILE) && cd $(DIR)
&& \
- make && make install ; fi
- @make clean
-
+stage2: Makefile $(FILE)
+ @$(std_build)
+ @cp $(SRC)/$(FILE) $(LFSSRC)
+compile-stage2:
+ @$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+ @make >../$(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