mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/tig: new package
Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser, but can also assist in staging changes for commit at chunk level and act as a pager for output from various Git commands. https://jonas.github.io/tig/ Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b919d852e2
commit
f4cf2bbc42
@@ -1788,6 +1788,7 @@ F: package/python-pyalsa/
|
|||||||
F: package/python-spake2/
|
F: package/python-spake2/
|
||||||
F: package/rdma-core/
|
F: package/rdma-core/
|
||||||
F: package/riscv-isa-sim/
|
F: package/riscv-isa-sim/
|
||||||
|
F: package/tig/
|
||||||
F: package/tinycompress/
|
F: package/tinycompress/
|
||||||
F: package/z3/
|
F: package/z3/
|
||||||
F: package/zynaddsubfx/
|
F: package/zynaddsubfx/
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ menu "Development tools"
|
|||||||
source "package/ripgrep/Config.in"
|
source "package/ripgrep/Config.in"
|
||||||
source "package/sed/Config.in"
|
source "package/sed/Config.in"
|
||||||
source "package/subversion/Config.in"
|
source "package/subversion/Config.in"
|
||||||
|
source "package/tig/Config.in"
|
||||||
source "package/tree/Config.in"
|
source "package/tree/Config.in"
|
||||||
source "package/unifdef/Config.in"
|
source "package/unifdef/Config.in"
|
||||||
source "package/yasm/Config.in"
|
source "package/yasm/Config.in"
|
||||||
|
|||||||
12
package/tig/Config.in
Normal file
12
package/tig/Config.in
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
config BR2_PACKAGE_TIG
|
||||||
|
bool "tig"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
|
select BR2_PACKAGE_GIT # runtime
|
||||||
|
select BR2_PACKAGE_NCURSES
|
||||||
|
help
|
||||||
|
Tig is an ncurses-based text-mode interface for git. It
|
||||||
|
functions mainly as a Git repository browser, but can also
|
||||||
|
assist in staging changes for commit at chunk level and act
|
||||||
|
as a pager for output from various Git commands.
|
||||||
|
|
||||||
|
https://jonas.github.io/tig/
|
||||||
6
package/tig/tig.hash
Normal file
6
package/tig/tig.hash
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# From:
|
||||||
|
# https://github.com/jonas/tig/releases/download/tig-2.5.10/tig-2.5.10.tar.gz.sha256
|
||||||
|
sha256 f655cc1366fc10058a2bd505bb88ca78e653ff7526c1b81774c44b9d841210e3 tig-2.5.10.tar.gz
|
||||||
|
|
||||||
|
# Locally calculated
|
||||||
|
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||||
21
package/tig/tig.mk
Normal file
21
package/tig/tig.mk
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# tig
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
TIG_VERSION = 2.5.10
|
||||||
|
TIG_SITE = https://github.com/jonas/tig/releases/download/tig-$(TIG_VERSION)
|
||||||
|
TIG_LICENSE = GPL-2.0+
|
||||||
|
TIG_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
TIG_DEPENDENCIES = ncurses
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||||
|
TIG_DEPENDENCIES += libiconv
|
||||||
|
TIG_CONF_OPTS += --with-iconv=$(STAGING_DIR)/usr
|
||||||
|
else
|
||||||
|
TIG_CONF_OPTS += --without-iconv
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
||||||
Reference in New Issue
Block a user