1 ################################################################################
5 ################################################################################
7 TN5250_VERSION = 0.17.4
8 TN5250_SITE = http://downloads.sourceforge.net/project/tn5250/tn5250/$(TN5250_VERSION)
9 TN5250_MAKE_OPTS = CPPFLAGS=""
10 TN5250_DEPENDENCIES = ncurses
11 TN5250_LICENSE = LGPLv2.1+
12 TN5250_LICENSE_FILES = COPYING
14 ifeq ($(BR2_PACKAGE_OPENSSL),y)
15 TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
16 TN5250_DEPENDENCIES += openssl
18 TN5250_CONF_OPTS += --without-ssl
21 define TN5250_INSTALL_FIXES
22 rm -f $(TARGET_DIR)/usr/bin/5250keys
23 rm -f $(TARGET_DIR)/usr/bin/xt5250
26 TN5250_POST_INSTALL_TARGET_HOOKS += TN5250_INSTALL_FIXES
28 $(eval $(autotools-package))