Browse Source

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>
lilik-openwrt-22.03
Guo Li 6 years ago
committed by Yousong Zhou
parent
commit
e656745031
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      net/mtr/Makefile

+ 3
- 5
net/mtr/Makefile View File

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


Loading…
Cancel
Save