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_CONF_ENV
+= LIBS
="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
17 TN5250_DEPENDENCIES
+= openssl host-pkgconf
19 TN5250_CONF_OPTS
+= --without-ssl
22 define TN5250_INSTALL_FIXES
23 rm -f
$(TARGET_DIR
)/usr
/bin
/5250keys
24 rm -f
$(TARGET_DIR
)/usr
/bin
/xt5250
27 TN5250_POST_INSTALL_TARGET_HOOKS
+= TN5250_INSTALL_FIXES
29 $(eval
$(autotools-package
))