summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/ncftp.in36
-rw-r--r--rules/ncftp.make73
2 files changed, 109 insertions, 0 deletions
diff --git a/rules/ncftp.in b/rules/ncftp.in
new file mode 100644
index 000000000..e7bd49e23
--- /dev/null
+++ b/rules/ncftp.in
@@ -0,0 +1,36 @@
+## SECTION=networking
+
+menuconfig NCFTP
+ tristate
+ select NCURSES if NCFTP_NCFTPBOOKMARKS
+ prompt "ncftp "
+ help
+ A user-friendly and well-featured FTP client
+
+ This program allows a user to transfer files to and from a
+ remote network site, and offers additional features that are
+ not found in the standard interface, ftp. This version has
+ Readline support enabled.
+
+if NCFTP
+
+config NCFTP_NCTP
+ bool "ncftp"
+ default y
+
+config NCFTP_NCFTPBATCH_NCFTPSPOOLER
+ bool "ncftpbatch/ncftpspooler"
+
+config NCFTP_NCFTPBOOKMARKS
+ bool "ncftpbookmarks"
+
+config NCFTP_NCFTPGET
+ bool "ncftpget"
+
+config NCFTP_NCFTPLS
+ bool "ncftpls"
+
+config NCFTP_NCFTPPUT
+ bool "ncftpput"
+
+endif
diff --git a/rules/ncftp.make b/rules/ncftp.make
new file mode 100644
index 000000000..ad8f7e1d4
--- /dev/null
+++ b/rules/ncftp.make
@@ -0,0 +1,73 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NCFTP) += ncftp
+
+#
+# Paths and names
+#
+NCFTP_VERSION := 3.2.5
+NCFTP_MD5 := b05c7a6d5269c04891f02f43d4312b30
+NCFTP := ncftp-$(NCFTP_VERSION)-src
+NCFTP_SUFFIX := tar.bz2
+NCFTP_URL := ftp://ftp.ncftp.com/ncftp/$(NCFTP).$(NCFTP_SUFFIX)
+NCFTP_SOURCE := $(SRCDIR)/$(NCFTP).$(NCFTP_SUFFIX)
+NCFTP_DIR := $(BUILDDIR)/$(NCFTP)
+NCFTP_LICENSE := Clarified Artistic License
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+NCFTP_CONF_TOOL := autoconf
+NCFTP_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --without-socks5 \
+ --without-dnssec-local-validation
+
+NCFTP_PROGS_y :=
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCTP) += ncftp
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCFTPBATCH_NCFTPSPOOLER) += ncftpbatch
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCFTPBOOKMARKS) += ncftpbookmarks
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCFTPGET) += ncftpget
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCFTPLS) += ncftpls
+NCFTP_PROGS_$(PTXCONF_NCFTP_NCFTPPUT) += ncftpput
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ncftp.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, ncftp)
+ @$(call install_fixup, ncftp,PRIORITY,optional)
+ @$(call install_fixup, ncftp,SECTION,base)
+ @$(call install_fixup, ncftp,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
+ @$(call install_fixup, ncftp,DESCRIPTION,missing)
+
+ @$(foreach prog, $(NCFTP_PROGS_y), \
+ $(call install_copy, ncftp, 0, 0, 0755, -, /usr/bin/$(prog));)
+
+ifdef PTXCONF_NCFTP_NCFTPBATCH_NCFTPSPOOLER
+ @$(call install_link, ncftp, ncftpbatch, /usr/bin/ncftpspooler)
+endif
+
+ @$(call install_finish, ncftp)
+
+ @$(call touch)
+
+# vim: syntax=make