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
|
|
|
|
2013-05-12 05:53:52 +02:00
|
|
|
HTTPING_VERSION = 2.2.1
|
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
|
2013-05-12 05:53:52 +02:00
|
|
|
HTTPING_DEPENDENCIES = \
|
|
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
|
$(if $(BR2_PACKAGE_NCURSES),ncurses) \
|
|
|
|
$(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) \
|
|
|
|
NC=$(if $(BR2_PACKAGE_NCURSES),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
|
2013-01-20 21:12:11 +01:00
|
|
|
$(HTTPING_MAKE_OPT) $(MAKE) OFLAGS= 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))
|