mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
mtr: fix UNKNOWN version reporting
Supersedes openwrt/packages#7634 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
+11
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=mtr
|
PKG_NAME:=mtr
|
||||||
PKG_VERSION:=0.92
|
PKG_VERSION:=0.92
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
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
|
||||||
@@ -26,6 +26,16 @@ PKG_FIXUP:=autoreconf
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
# Creation of .tarball-version is an attempt to make it explicit to configure
|
||||||
|
# script the program version. See discussions at link [1] for more details
|
||||||
|
#
|
||||||
|
# [1] mtr: add autoreconf, https://github.com/openwrt/packages/pull/6962#issuecomment-419156300
|
||||||
|
#
|
||||||
|
define Build/Prepare
|
||||||
|
$(call Build/Prepare/Default)
|
||||||
|
echo "$(PKG_VERSION)" >$(PKG_BUILD_DIR)/.tarball-version
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/mtr
|
define Package/mtr
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
|
|||||||
Reference in New Issue
Block a user