mtr: add autoreconf

The official tarball does not contain configure, we should set
PKG_FIXUP=autoreconf to generate one

make[4]: *** No targets specified and no makefile found.  Stop.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
This commit is contained in:
Guo Li 2018-09-06 15:10:25 +08:00 committed by Yousong Zhou
parent d0e0385f11
commit e656745031

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mtr PKG_NAME:=mtr
PKG_VERSION:=0.92 PKG_VERSION:=0.92
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.bitwizard.nl/mtr/files PKG_SOURCE_URL:=https://www.bitwizard.nl/mtr/files
@ -22,6 +22,8 @@ PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/mtr define Package/mtr
@ -49,10 +51,6 @@ CONFIGURE_ARGS += \
CONFIGURE_VARS += ac_cv_lib_cap_cap_set_proc=no CONFIGURE_VARS += ac_cv_lib_cap_cap_set_proc=no
define Build/Configure
$(call Build/Configure/Default)
endef
define Package/mtr/install define Package/mtr/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/