mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
For change log, see: https://www.ncftp.com/ncftp/doc/changelog.html Fixes: https://autobuild.buildroot.org/results/103b86c5473077cd95a245a762059a23f78c1a44/build-end.log Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> [Julien: add link to change log] Signed-off-by: Julien Olivain <ju.o@free.fr>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# ncftp
|
|
#
|
|
################################################################################
|
|
|
|
NCFTP_VERSION = 3.3.0
|
|
NCFTP_SOURCE = ncftp-$(NCFTP_VERSION)-src.tar.gz
|
|
NCFTP_SITE = https://www.ncftp.com/public_ftp/ncftp
|
|
NCFTP_TARGET_BINS = ncftp
|
|
NCFTP_LICENSE = ClArtistic
|
|
NCFTP_LICENSE_FILES = doc/LICENSE.txt
|
|
|
|
NCFTP_DEPENDENCIES = host-autoconf
|
|
NCFTP_CONF_OPTS = --disable-ccdv
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_GET),y)
|
|
NCFTP_TARGET_BINS += ncftpget
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_PUT),y)
|
|
NCFTP_TARGET_BINS += ncftpput
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_LS),y)
|
|
NCFTP_TARGET_BINS += ncftpls
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_BATCH),y)
|
|
NCFTP_TARGET_BINS += ncftpbatch
|
|
NCFTP_INSTALL_NCFTP_BATCH = \
|
|
ln -sf /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_BOOKMARKS),y)
|
|
NCFTP_TARGET_BINS += ncftpbookmarks
|
|
NCFTP_DEPENDENCIES += ncurses
|
|
endif
|
|
|
|
define NCFTP_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(addprefix $(NCFTP_DIR)/bin/, $(NCFTP_TARGET_BINS)) $(TARGET_DIR)/usr/bin
|
|
$(NCFTP_INSTALL_NCFTP_BATCH)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|