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
|
|
|
|
2014-03-10 21:26:29 +01:00
|
|
|
HTTPING_VERSION = 2.3.4
|
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-03-10 21:26:29 +01:00
|
|
|
HTTPING_LDFLAGS = $(if $(BR2_NEEDS_GETTEXT),-lintl) $(TARGET_LDFLAGS)
|
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) \
|
2013-05-12 05:53:52 +02:00
|
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
|
$(if $(BR2_PACKAGE_FFTW),fftw)
|
2013-01-16 09:48:44 +01:00
|
|
|
HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
|
2013-05-12 05:53:52 +02:00
|
|
|
FW=$(if $(BR2_PACKAGE_FFTW),yes,no) \
|
2014-03-12 01:30:43 +01:00
|
|
|
NC=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-03-10 21:26:29 +01:00
|
|
|
$(HTTPING_MAKE_OPT) LDFLAGS="$(HTTPING_LDFLAGS)" \
|
|
|
|
$(MAKE) DEBUG=no -C $(@D)
|
2013-01-14 14:32:07 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HTTPING_INSTALL_TARGET_CMDS
|
2013-01-19 04:52:33 +01:00
|
|
|
$(HTTPING_MAKE_OPT) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
2013-01-14 14:32:07 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|