package/mtr: use ncurses option
PATCH 1/2 package/mtr: use ncurses option
Use --with-ncurses and --without-ncurses options which are available since version 0.88 and
https://github.com/traviscross/mtr/commit/4e2a948a167d9b8a0a63b46a423d4ae1519ad759
--- package/mtr/mtr.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
package/mtr/mtr.mk +8 -2
@@ -10,10 +10,16 @@ MTR_AUTORECONF = YES MTR_CONF_OPTS = --without-gtk MTR_DEPENDENCIES = \ host-pkgconf \ - $(if $(BR2_PACKAGE_LIBCAP),libcap) \ - $(if $(BR2_PACKAGE_NCURSES),ncurses) + $(if $(BR2_PACKAGE_LIBCAP),libcap) MTR_LICENSE = GPL-2.0 MTR_LICENSE_FILES = COPYING MTR_SELINUX_MODULES = netutils +ifeq ($(BR2_PACKAGE_NCURSES),y) +MTR_CONF_OPTS += --with-ncurses +MTR_DEPENDENCIES += ncurses +else +MTR_CONF_OPTS += --without-ncurses +endif + $(eval $(autotools-package))
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/mtr: bump to version 0.94
- Add jansson optional dependency:
https://github.com/traviscross/mtr/commit/c2739eaf139b96f4b4937aee9aa484f0e6d1df55
- Add libgtk3 optional dependency:
https://github.com/traviscross/mtr/commit/5bd8e6c3ba67fdb9445b1ddc3777aca3b0f7053e
- Update indentation in hash file (two spaces)
--- package/mtr/mtr.hash | 4 ++-- package/mtr/mtr.mk | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-)
package/mtr/mtr.hash +2 -2
@@ -1,3 +1,3 @@ # Locally calculated -sha256 3a1ab330104ddee3135af3cfa567b9608001c5deecbf200c08b545ed6d7a4c8f mtr-0.93.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 ea036fdd45da488c241603f6ea59a06bbcfe6c26177ebd34fff54336a44494b8 mtr-0.94.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/mtr/mtr.mk +15 -2
@@ -4,10 +4,9 @@ # ################################################################################ -MTR_VERSION = 0.93 +MTR_VERSION = 0.94 MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION)) MTR_AUTORECONF = YES -MTR_CONF_OPTS = --without-gtk MTR_DEPENDENCIES = \ host-pkgconf \ $(if $(BR2_PACKAGE_LIBCAP),libcap)
@@ -15,6 +14,20 @@ 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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Fabrice Fontaine
Use --with-ncurses and --without-ncurses options which are available since version 0.88 and
https://github.com/traviscross/mtr/commit/4e2a948a167d9b8a0a63b46a423d4ae1519ad759Signed-off-by Fabrice Fontaine <[email protected]>
Both applied to master, thanks.
Regards,
Arnout
Quoted 18 lines
--- package/mtr/mtr.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)package/mtr/mtr.mk +1
-2@@ -10,10 +10,16 @@ MTR_AUTORECONF = YES MTR_CONF_OPTS = --without-gtk MTR_DEPENDENCIES = \ host-pkgconf \ - $(if $(BR2_PACKAGE_LIBCAP),libcap) \ - $(if $(BR2_PACKAGE_NCURSES),ncurses) + $(if $(BR2_PACKAGE_LIBCAP),libcap) MTR_LICENSE = GPL-2.0 MTR_LICENSE_FILES = COPYING
package/mtr/mtr.mk MTR_AUTORECONF = YES · line 25
Quoted 10 lines
package/mtr/mtr.mk +7
-0MTR_SELINUX_MODULES = netutils +ifeq ($(BR2_PACKAGE_NCURSES),y) +MTR_CONF_OPTS += --with-ncurses +MTR_DEPENDENCIES += ncurses +else +MTR_CONF_OPTS += --without-ncurses +endif + $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Use --with-ncurses and --without-ncurses options which are available since version 0.88 and
https://github.com/traviscross/mtr/commit/4e2a948a167d9b8a0a63b46a423d4ae1519ad759Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2021.02.x, 2021.05.x and 2021.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot