2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-02-10 04:06:39 +01:00
|
|
|
#
|
2010-06-02 16:54:14 +02:00
|
|
|
# tn5250
|
2005-02-10 04:06:39 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-06-02 16:54:14 +02:00
|
|
|
|
|
|
|
TN5250_VERSION = 0.17.4
|
2012-08-26 01:52:48 +02:00
|
|
|
TN5250_SITE = http://downloads.sourceforge.net/project/tn5250/tn5250/$(TN5250_VERSION)
|
2014-09-27 21:32:38 +02:00
|
|
|
TN5250_MAKE_OPTS = CPPFLAGS=""
|
2010-06-02 16:54:14 +02:00
|
|
|
TN5250_DEPENDENCIES = ncurses
|
2017-03-30 15:43:34 +02:00
|
|
|
TN5250_LICENSE = LGPL-2.1+
|
2013-01-29 09:23:55 +01:00
|
|
|
TN5250_LICENSE_FILES = COPYING
|
2010-06-02 16:54:14 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
|
2015-08-26 13:35:28 +02:00
|
|
|
TN5250_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
|
|
|
|
TN5250_DEPENDENCIES += openssl host-pkgconf
|
2010-06-02 16:54:14 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
TN5250_CONF_OPTS += --without-ssl
|
2005-02-10 04:06:39 +01:00
|
|
|
endif
|
2010-06-02 16:54:14 +02:00
|
|
|
|
2010-09-01 17:06:45 +02:00
|
|
|
define TN5250_INSTALL_FIXES
|
2010-06-02 16:54:14 +02:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/5250keys
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/xt5250
|
2010-09-01 17:06:45 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
TN5250_POST_INSTALL_TARGET_HOOKS += TN5250_INSTALL_FIXES
|
2010-06-02 16:54:14 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|