2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-14 14:32:07 +01:00
|
|
|
#
|
|
|
|
# httping
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-14 14:32:07 +01:00
|
|
|
|
2016-09-14 15:08:00 +02:00
|
|
|
HTTPING_VERSION = 2.5
|
2013-01-14 14:32:07 +01:00
|
|
|
HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
|
|
|
|
HTTPING_SITE = http://www.vanheusden.com/httping
|
2017-03-30 15:43:32 +02:00
|
|
|
HTTPING_LICENSE = GPL-2.0
|
2013-01-14 14:32:07 +01:00
|
|
|
HTTPING_LICENSE_FILES = license.txt
|
2014-05-23 12:39:35 +02:00
|
|
|
HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \
|
2017-07-03 22:48:15 +02:00
|
|
|
$(TARGET_NLS_LIBS) \
|
2014-05-23 12:39:35 +02:00
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),-liconv)
|
2017-07-03 22:48:15 +02:00
|
|
|
HTTPING_DEPENDENCIES = \
|
|
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
2014-05-23 12:39:35 +02:00
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
2014-09-17 15:08:19 +02:00
|
|
|
$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncurses) \
|
2013-05-12 05:53:52 +02:00
|
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
|
$(if $(BR2_PACKAGE_FFTW),fftw)
|
2014-09-27 21:32:38 +02:00
|
|
|
HTTPING_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \
|
2013-05-12 05:53:52 +02:00
|
|
|
FW=$(if $(BR2_PACKAGE_FFTW),yes,no) \
|
2014-09-17 15:08:19 +02:00
|
|
|
NC=$(if $(BR2_PACKAGE_NCURSES_WCHAR),yes,no) \
|
2013-01-16 09:48:44 +01:00
|
|
|
SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
|
2017-07-18 18:27:56 +02:00
|
|
|
TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no) \
|
|
|
|
NO_GETTEXT=$(if $(BR2_SYSTEM_ENABLE_NLS),no,yes)
|
2013-01-14 14:32:07 +01:00
|
|
|
|
|
|
|
define HTTPING_BUILD_CMDS
|
2014-09-27 21:32:38 +02:00
|
|
|
$(HTTPING_MAKE_OPTS) LDFLAGS="$(HTTPING_LDFLAGS)" \
|
2014-03-10 21:26:29 +01:00
|
|
|
$(MAKE) DEBUG=no -C $(@D)
|
2013-01-14 14:32:07 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HTTPING_INSTALL_TARGET_CMDS
|
2014-09-27 21:32:38 +02:00
|
|
|
$(HTTPING_MAKE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
2013-01-14 14:32:07 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|