r97 - in trunk: . packages packages/ncftp

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun Apr 17 15:15:50 PDT 2005


Author: jhuntwork
Date: 2005-04-17 16:15:50 -0600 (Sun, 17 Apr 2005)
New Revision: 97

Added:
   trunk/packages/ncftp/
   trunk/packages/ncftp/Makefile
Modified:
   trunk/Makefile
Log:
Added ncftp

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2005-04-17 22:04:53 UTC (rev 96)
+++ trunk/Makefile	2005-04-17 22:15:50 UTC (rev 97)
@@ -173,7 +173,7 @@
 	ch-docbook-xsl ch-html_tidy ch-LFS-BOOK ch-libpng ch-freetype ch-fontconfig ch-Xorg ch-freefont ch-libjpeg \
 	ch-libtiff ch-links ch-openssh ch-pkgconfig ch-glib2 ch-libungif ch-imlib2 ch-pango ch-atk ch-gtk2 \
 	ch-libIDL ch-firefox ch-startup-notification ch-xfce ch-irssi ch-xchat ch-samba ch-tcpwrappers ch-portmap \
-	ch-nfs-utils ch-traceroute ch-pciutils ch-nALFS ch-device-mapper ch-LVM2 ch-dhcpcd ch-ppp ch-rp-pppoe ch-libaal \
+	ch-nfs-utils ch-traceroute ch-ncftp ch-pciutils ch-nALFS ch-device-mapper ch-LVM2 ch-dhcpcd ch-ppp ch-rp-pppoe ch-libaal \
 	ch-reiser4progs ch-squashfs ch-cpio ch-db ch-postfix ch-mutt ch-slrn ch-linux ch-cdrtools ch-blfs-bootscripts \
 	ch-syslinux
 
@@ -758,6 +758,10 @@
 	make -C $(PKG)/$@ chroot
 	make unmount
 
+ncftp: prep-chroot
+	make -C $(PKG)/$@ chroot
+	make unmount
+
 pciutils: prep-chroot
 	make -C $(PKG)/$@ chroot
 	make unmount
@@ -1253,6 +1257,9 @@
 ch-traceroute: popdev
 	make -C $(PKG)/traceroute stage2
 
+ch-ncftp: popdev
+	make -C $(PKG)/ncftp stage2
+
 ch-pciutils: popdev
 	make -C $(PKG)/pciutils stage2
 

Added: trunk/packages/ncftp/Makefile
===================================================================
--- trunk/packages/ncftp/Makefile	2005-04-17 22:04:53 UTC (rev 96)
+++ trunk/packages/ncftp/Makefile	2005-04-17 22:15:50 UTC (rev 97)
@@ -0,0 +1,29 @@
+# ncftp Makefile
+
+# Package versions
+NM= ncftp
+VRS= 3.1.7
+DIR= $(NM)-$(VRS)
+FILE= $(DIR)-src.tar.bz2
+URL= ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/$(FILE)
+
+#RULES
+
+.PHONY: clean chroot stage2
+
+chroot:
+	@chroot "$(MP)" $(chenv3) 'cd $(ROOT) && make ch-$(NM) $(chbash2)'
+
+stage2:
+	@echo ""
+	@echo "=====> Building $(NM) in chroot"
+	@echo ""
+	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
+	@if [ ! -f /usr/sbin/pppd ] ; then tar -xjvf $(FILE) && cd $(DIR) && \
+	 ./configure --prefix=/usr && \
+	 make -C libncftp shared && make -C libncftp soinstall &&
+	 make -j3 && make install ; fi
+	@make clean
+
+clean:
+	@-rm -rf $(DIR)




More information about the livecd mailing list