summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-31 06:37:44 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-31 06:37:44 +0000
commitb7001fb637eaaf43319038284079ca6237fde06e (patch)
tree0d4b9765c3fd7f302816e27d742237927a4eeef5 /package
parent0e170adfa43b7e050671e537f06cbfcbb1e49686 (diff)
downloadbuildroot-novena-b7001fb637eaaf43319038284079ca6237fde06e.tar.gz
buildroot-novena-b7001fb637eaaf43319038284079ca6237fde06e.zip
Improve config for nCFTP
Diffstat (limited to 'package')
-rw-r--r--package/ncftp/Config.in43
-rw-r--r--package/ncftp/ncftp.mk25
2 files changed, 56 insertions, 12 deletions
diff --git a/package/ncftp/Config.in b/package/ncftp/Config.in
index 7908ed009..c1028f227 100644
--- a/package/ncftp/Config.in
+++ b/package/ncftp/Config.in
@@ -7,14 +7,37 @@ config BR2_PACKAGE_NCFTP
http://www.ncftp.com/ncftp/
-config BR2_PACKAGE_NCFTP_UTILS
- bool "install utils (ncftpput, ncftpget, ncftpls)"
+menu "ncFTP tools selection"
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_GET
+ bool "NcFTPGet - command-line utility program"
+ default y
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_PUT
+ bool "NcFTPPut - command-line utility program"
+ default y
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_LS
+ bool "NcFTPLs - command-line utility program"
+ default y
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_BATCH
+ bool "NcFTPBatch - background FTP program for individual users"
+ default y
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_SPOOLER
+ bool "NcFTPSpooler - spooler - not working properly"
default n
- depends on BR2_PACKAGE_NCFTP
- help
- This will also install:
- - NcFTPGet - command-line utility program
- - NcFTPPut - command-line utility program
- - NcFTPLs - command-line utility program
- - NcFTPBatch - background FTP program for individual users
- - NcFTPSpooler - background batch FTP service for systems
+ depends BR2_PACKAGE_NCFTP
+
+config BR2_PACKAGE_NCFTP_BOOKMARKS
+ bool "NcFTPBookmarks - not working properly"
+ default n
+ depends BR2_PACKAGE_NCFTP
+
+endmenu
diff --git a/package/ncftp/ncftp.mk b/package/ncftp/ncftp.mk
index 1a0ba94b1..911c8cefc 100644
--- a/package/ncftp/ncftp.mk
+++ b/package/ncftp/ncftp.mk
@@ -10,8 +10,29 @@ NCFTP_DIR:=$(BUILD_DIR)/ncftp-$(NCFTP_VERSION)
NCFTP_TARGET_BINS:=ncftp
-ifeq ($(strip $(BR2_PACKAGE_NCFTP_UTILS)),y)
-NCFTP_TARGET_BINS+=ncftpbatch ncftpbookmarks ncftpget ncftpls ncftpput
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_GET)),y)
+NCFTP_TARGET_BINS+=ncftpget
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_PUT)),y)
+NCFTP_TARGET_BINS+=ncftpput
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_LS)),y)
+NCFTP_TARGET_BINS+=ncftpls
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_BATCH)),y)
+NCFTP_TARGET_BINS+=ncftpbatch
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_SPOOLER)),y)
+#Someone needs to figure out what to do...
+NCFTP_TARGET_BINS+=
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_NCFTP_BOOKMARKS)),y)
+NCFTP_TARGET_BINS+=ncftpbookmarks
endif
ncftp-source: $(DL_DIR)/$(NCFTP_SOURCE)