Initial Commit
- initial default booting image
This commit is contained in:
8
package/mtr/Config.in
Normal file
8
package/mtr/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_MTR
|
||||
bool "mtr"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
mtr combines the functionality of the 'traceroute' and 'ping'
|
||||
programs in a single network diagnostic tool.
|
||||
|
||||
http://www.bitwizard.nl/mtr/
|
||||
3
package/mtr/mtr.hash
Normal file
3
package/mtr/mtr.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 12490fb660ba5fb34df8c06a0f62b4f9cbd11a584fc3f6eceda0a99124e8596f mtr-0.95.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
38
package/mtr/mtr.mk
Normal file
38
package/mtr/mtr.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# mtr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MTR_VERSION = 0.95
|
||||
MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION))
|
||||
MTR_AUTORECONF = YES
|
||||
MTR_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_LIBCAP),libcap)
|
||||
MTR_LICENSE = GPL-2.0
|
||||
MTR_LICENSE_FILES = COPYING
|
||||
MTR_SELINUX_MODULES = netutils
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JANSSON),y)
|
||||
MTR_CONF_OPTS += --with-jansson
|
||||
MTR_DEPENDENCIES += jansson
|
||||
else
|
||||
MTR_CONF_OPTS += --without-jansson
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
||||
MTR_CONF_OPTS += --with-gtk
|
||||
MTR_DEPENDENCIES += libgtk3
|
||||
else
|
||||
MTR_CONF_OPTS += --without-gtk
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
MTR_CONF_OPTS += --with-ncurses
|
||||
MTR_DEPENDENCIES += ncurses
|
||||
else
|
||||
MTR_CONF_OPTS += --without-ncurses
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user