7311116e78
The ./configure script is not up-to-date with what is in configure.ac, which prevents --with-ssh from working properly. So, we autoreconfigure autossh, which fixes the issue. Note however that this is not really an autotools package, since it only uses autoconf and not automake. However, making it a generic pacakge is not trivial, since autossh really wants config.h as generated by ./configure. Using the autotools infra in this case helps us easily autoreconfiguring without to manual depend on all the autotools-relates host packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
641 B
Makefile
23 lines
641 B
Makefile
################################################################################
|
|
#
|
|
# autossh
|
|
#
|
|
################################################################################
|
|
|
|
AUTOSSH_VERSION = 1.4e
|
|
AUTOSSH_SITE = http://www.harding.motd.ca/autossh
|
|
AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
|
|
AUTOSSH_LICENSE = Modified BSD
|
|
AUTOSSH_LICENSE_FILES = autossh.c
|
|
|
|
# Bundled ./configure is not up-to-date with what is in configure.ac
|
|
AUTOSSH_AUTORECONF = YES
|
|
|
|
AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh
|
|
|
|
define AUTOSSH_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 755 -D $(@D)/autossh $(TARGET_DIR)/usr/bin/autossh
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|