package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / httping / httping.mk
blob7e7609086ed3d59a063c439a9b86face9ac358dd
1 ################################################################################
3 # httping
5 ################################################################################
7 HTTPING_VERSION = 2.4
8 HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
9 HTTPING_SITE = http://www.vanheusden.com/httping
10 HTTPING_LICENSE = GPLv2
11 HTTPING_LICENSE_FILES = license.txt
12 HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \
13 $(if $(BR2_NEEDS_GETTEXT),-lintl) \
14 $(if $(BR2_PACKAGE_LIBICONV),-liconv)
15 HTTPING_DEPENDENCIES = host-gettext \
16 $(if $(BR2_NEEDS_GETTEXT),gettext) \
17 $(if $(BR2_PACKAGE_LIBICONV),libiconv) \
18 $(if $(BR2_PACKAGE_NCURSES_WCHAR),ncurses) \
19 $(if $(BR2_PACKAGE_OPENSSL),openssl) \
20 $(if $(BR2_PACKAGE_FFTW),fftw)
21 HTTPING_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \
22 FW=$(if $(BR2_PACKAGE_FFTW),yes,no) \
23 NC=$(if $(BR2_PACKAGE_NCURSES_WCHAR),yes,no) \
24 SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
25 TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
27 define HTTPING_BUILD_CMDS
28 $(HTTPING_MAKE_OPTS) LDFLAGS="$(HTTPING_LDFLAGS)" \
29 $(MAKE) DEBUG=no -C $(@D)
30 endef
32 define HTTPING_INSTALL_TARGET_CMDS
33 $(HTTPING_MAKE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
34 endef
36 $(eval $(generic-package))