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
|
|
|
|
HTTPING_LICENSE = GPLv2
|
|
|
|
HTTPING_LICENSE_FILES = license.txt
|
2014-05-23 12:39:35 +02:00
|
|
|
HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \
|
|
|
|
$(if $(BR2_NEEDS_GETTEXT),-lintl) \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),-liconv)
|
2014-03-16 12:49:17 +01:00
|
|
|
HTTPING_DEPENDENCIES = host-gettext \
|
2014-03-10 21:26:29 +01:00
|
|
|
$(if $(BR2_NEEDS_GETTEXT),gettext) \
|
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) \
|
2013-01-20 21:12:11 +01:00
|
|
|
TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
|
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))
|