The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mtr / mtr.mk
1 ################################################################################
2 #
3 # mtr
4 #
5 ################################################################################
6
7 MTR_VERSION = v0.86
8 MTR_SITE = $(call github,traviscross,mtr,$(MTR_VERSION))
9 MTR_AUTORECONF = YES
10 MTR_CONF_OPTS = --without-gtk
11 MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
12 MTR_LICENSE = GPLv2
13 MTR_LICENSE_FILES = COPYING
14
15 # uClibc has res_ninit but not res_nmkquery
16 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
17 define MTR_DISABLE_RES_NINIT
18         $(SED) 's/#ifdef res_ninit/#if 0/' \
19                 $(@D)/dns.c
20 endef
21 endif
22
23 MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
24
25 $(eval $(autotools-package))