Author: thomasp
Date: 2005-08-01 16:39:11 -0600 (Mon, 01 Aug 2005)
New Revision: 469
Modified:
x86/trunk/packages/libtool/Makefile
Log:
Updated libtool Makefile
Modified: x86/trunk/packages/libtool/Makefile
===================================================================
--- x86/trunk/packages/libtool/Makefile 2005-08-01 21:06:55 UTC (rev 468)
+++ x86/trunk/packages/libtool/Makefile 2005-08-01 22:39:11 UTC (rev 469)
@@ -1,31 +1,57 @@
# Libtool Makefile
+#==============================================================================
-# Package versions
NM= libtool
-VRS= 1.5.14
+VRS= 1.5.18
DIR= $(NM)-$(VRS)
+
FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
-URL1= $(HTTP)/$(NM)/$(PATCH1)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= 19cf661054653dabaa800f3115295e4639f849a1
-# 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/libtool ] ; 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