mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
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:
+3
-5
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user