1 ################################################################################
5 ################################################################################
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
)
32 define HTTPING_INSTALL_TARGET_CMDS
33 $(HTTPING_MAKE_OPTS
) $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(@D
) install
36 $(eval
$(generic-package
))