1################################################################################ 2# 3# gesftpserver 4# 5################################################################################ 6 7GESFTPSERVER_VERSION = 1 8GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz 9GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver 10GESFTPSERVER_LICENSE = GPL-2.0+ 11GESFTPSERVER_LICENSE_FILES = COPYING 12 13# "Missing prototype" warning treated as error 14GESFTPSERVER_CONF_OPTS = --disable-warnings-as-errors 15GESFTPSERVER_CPE_ID_VENDOR = green_end 16GESFTPSERVER_CPE_ID_PRODUCT = sftpserver 17 18# forgets to link against pthread when cross compiling 19GESFTPSERVER_CONF_ENV = LIBS=-lpthread 20 21# overwrite openssh version if enabled 22GESFTPSERVER_DEPENDENCIES += \ 23 $(if $(BR2_ENABLE_LOCALE),,libiconv) \ 24 $(if $(BR2_PACKAGE_OPENSSH),openssh) 25 26# Python on the host is only used for tests, which we don't use in 27# Buildroot 28GESFTPSERVER_CONF_ENV += rjk_cv_python24=false 29 30# openssh/dropbear looks here 31define GESFTPSERVER_ADD_SYMLINK 32 ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server 33endef 34 35GESFTPSERVER_POST_INSTALL_TARGET_HOOKS += GESFTPSERVER_ADD_SYMLINK 36 37$(eval $(autotools-package)) 38