X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmtr%2Fmtr.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmtr%2Fmtr.mk;h=3f73a5f51966ab3040039e20c010313aa171a3ea;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/mtr/mtr.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/mtr/mtr.mk new file mode 100644 index 0000000..3f73a5f --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/mtr/mtr.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# mtr +# +################################################################################ + +MTR_VERSION = v0.86 +MTR_SITE = $(call github,traviscross,mtr,$(MTR_VERSION)) +MTR_AUTORECONF = YES +MTR_CONF_OPTS = --without-gtk +MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses) +MTR_LICENSE = GPLv2 +MTR_LICENSE_FILES = COPYING + +# uClibc has res_ninit but not res_nmkquery +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +define MTR_DISABLE_RES_NINIT + $(SED) 's/#ifdef res_ninit/#if 0/' \ + $(@D)/dns.c +endef +endif + +MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT + +$(eval $(autotools-package))