r529 - in x86/trunk: . packages/ncftp

justin at linuxfromscratch.org justin at linuxfromscratch.org
Tue Aug 2 15:57:22 PDT 2005


Author: justin
Date: 2005-08-02 16:57:21 -0600 (Tue, 02 Aug 2005)
New Revision: 529

Modified:
   x86/trunk/packages/ncftp/Makefile
   x86/trunk/todo-list
Log:
Updated ncftp Makefile.

Modified: x86/trunk/packages/ncftp/Makefile
===================================================================
--- x86/trunk/packages/ncftp/Makefile	2005-08-02 22:49:38 UTC (rev 528)
+++ x86/trunk/packages/ncftp/Makefile	2005-08-02 22:57:21 UTC (rev 529)
@@ -1,30 +1,58 @@
 # ncftp Makefile
+#==============================================================================
 
-# Package versions
 NM= ncftp
 VRS= 3.1.9
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR)-src.tar.bz2
-#URL= http://ftp.rge.com/pub/networking/$(NM)/$(FILE)
-URL= http://ftp.lfs-matrix.de/pub/BLFS/SVN/M-P/$(FILE)
+URL-$(FILE)= $(HTTPBLFS)/M-P/$(FILE)
+SHA-$(FILE)= 052be99800b740a50b31619ccd65fd4f082a3386
 
-#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/bin/$(NM) ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr && \
-	 make -C libncftp shared && make -C libncftp soinstall && \
-	 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)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make -C libncftp shared >>../$(DIR)-$@.log 2>&1
+	@make -C libncftp soinstall >>../$(DIR)-$@.log 2>&1
+	@make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

Modified: x86/trunk/todo-list
===================================================================
--- x86/trunk/todo-list	2005-08-02 22:49:38 UTC (rev 528)
+++ x86/trunk/todo-list	2005-08-02 22:57:21 UTC (rev 529)
@@ -3,7 +3,6 @@
 hotplug
 inputattach
 lfs-bootscripts
-ncftp
 nfs-utils
 openssh
 openssl




More information about the livecd mailing list