2014-06-23 16:47:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# atftp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ATFTP_VERSION = 0.7.1
|
|
|
|
ATFTP_SITE = http://sourceforge.net/projects/atftp/files/
|
|
|
|
ATFTP_LICENSE = GPLv2+
|
|
|
|
ATFTP_LICENSE_FILES = LICENSE
|
|
|
|
ATFTP_CONF_OPT = --disable-libwrap --disable-mtftp
|
2014-07-10 15:59:23 +02:00
|
|
|
# For static we need to explicitly link against libpthread
|
|
|
|
ATFTP_LIBS = -lpthread
|
|
|
|
ATFTP_CONF_ENV = LIBS="$(ATFTP_LIBS)"
|
2014-06-23 16:47:48 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
ATFTP_DEPENDENCIES += readline
|
|
|
|
ATFTP_CONF_OPT += --enable-libreadline
|
2014-07-10 15:59:23 +02:00
|
|
|
# For static, readline links with ncurses
|
|
|
|
ATFTP_LIBS += -lncurses
|
2014-06-23 16:47:48 +02:00
|
|
|
else
|
|
|
|
ATFTP_CONF_OPT += --disable-libreadline
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
ATFTP_DEPENDENCIES += pcre
|
|
|
|
ATFTP_CONF_OPT += --enable-libpcre
|
|
|
|
else
|
|
|
|
ATFTP_CONF_OPT += --disable-libpcre
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|