af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
1003 B
Makefile
30 lines
1003 B
Makefile
################################################################################
|
|
#
|
|
# shellinabox
|
|
#
|
|
################################################################################
|
|
|
|
SHELLINABOX_VERSION = v2.19
|
|
SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,$(SHELLINABOX_VERSION))
|
|
SHELLINABOX_LICENSE = GPL-2.0 with OpenSSL exception
|
|
SHELLINABOX_LICENSE_FILES = COPYING GPL-2
|
|
|
|
# Fetching from Github, and patching Makefile.am, so we need to autoreconf
|
|
SHELLINABOX_AUTORECONF = YES
|
|
|
|
# The OpenSSL support is supposed to be optional, but in practice,
|
|
# with OpenSSL disabled, it fails to build. See
|
|
# https://github.com/shellinabox/shellinabox/issues/385.
|
|
SHELLINABOX_DEPENDENCIES = zlib openssl
|
|
SHELLINABOX_CONF_OPTS = \
|
|
--disable-runtime-loading \
|
|
--enable-ssl
|
|
|
|
# musl's implementation of utmpx is a dummy one, and some aspects of
|
|
# it cause build failures in shellinabox
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
SHELLINABOX_CONF_ENV += ac_cv_header_utmpx_h=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|