]> Git Repo - buildroot-mgba.git/blame - package/ncftp/ncftp.mk
package/ncftp: bump to version 3.2.7
[buildroot-mgba.git] / package / ncftp / ncftp.mk
CommitLineData
8dfd59d1 1################################################################################
a3bf0447 2#
f2c2f25c 3# ncftp
a3bf0447 4#
8dfd59d1 5################################################################################
a3bf0447 6
0deb8c4c
YY
7NCFTP_VERSION = 3.2.7
8NCFTP_SOURCE = ncftp-$(NCFTP_VERSION)-src.tar.xz
9NCFTP_SITE = https://www.ncftp.com/public_ftp/ncftp
ea729ab3 10NCFTP_TARGET_BINS = ncftp
5d1c9f8c
TDS
11NCFTP_LICENSE = Clarified Artistic License
12NCFTP_LICENSE_FILES = doc/LICENSE.txt
a3bf0447 13
1963bc81 14NCFTP_DEPENDENCIES = host-autoconf
9647c3c5 15NCFTP_CONF_OPTS = --disable-ccdv
1963bc81 16
5263aa68
AV
17# The bundled configure script is generated by autoconf 2.13 and doesn't
18# detect cross-compilation correctly. Therefore, we have to regenerate it.
19# We need to pass -I because of the non-standard m4 directory name, and
20# none of the other autotools are used, so the below is the easiest.
1963bc81 21define NCFTP_RUN_AUTOCONF
3292f3de 22 (cd $(@D); $(AUTOCONF) -I$(@D)/autoconf_local/)
1963bc81 23endef
1963bc81
RN
24NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
25
ac1d92c4 26ifeq ($(BR2_PACKAGE_NCFTP_GET),y)
bd8c733f 27NCFTP_TARGET_BINS += ncftpget
b7001fb6
US
28endif
29
ac1d92c4 30ifeq ($(BR2_PACKAGE_NCFTP_PUT),y)
bd8c733f 31NCFTP_TARGET_BINS += ncftpput
b7001fb6
US
32endif
33
ac1d92c4 34ifeq ($(BR2_PACKAGE_NCFTP_LS),y)
bd8c733f 35NCFTP_TARGET_BINS += ncftpls
b7001fb6
US
36endif
37
ac1d92c4 38ifeq ($(BR2_PACKAGE_NCFTP_BATCH),y)
bd8c733f
JG
39NCFTP_TARGET_BINS += ncftpbatch
40NCFTP_INSTALL_NCFTP_BATCH = \
41 ln -sf /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
b7001fb6
US
42endif
43
ac1d92c4 44ifeq ($(BR2_PACKAGE_NCFTP_BOOKMARKS),y)
bd8c733f
JG
45NCFTP_TARGET_BINS += ncftpbookmarks
46NCFTP_DEPENDENCIES += ncurses
a3bf0447
PK
47endif
48
0de10bf4 49define NCFTP_INSTALL_TARGET_CMDS
4635eb92 50 $(INSTALL) -m 0755 $(addprefix $(NCFTP_DIR)/bin/, $(NCFTP_TARGET_BINS)) $(TARGET_DIR)/usr/bin
0de10bf4
TP
51 $(NCFTP_INSTALL_NCFTP_BATCH)
52endef
a3bf0447 53
e1502ebc 54$(eval $(autotools-package))
This page took 8.056673 seconds and 4 git commands to generate.