From b9e25d993778fec3080c35866befa43fc1fd3792 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 17 Jan 2022 00:18:14 +0100 Subject: [PATCH] package/tealdeer: new package Tealdeer is a fast and full-featured tldr client. tldr pages are simplified and community-driven man pages, see https://tldr.sh/ for more information. https://github.com/dbrgn/tealdeer/ Signed-off-by: Danilo Bargen Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/tealdeer/Config.in | 10 ++++++++++ package/tealdeer/tealdeer.hash | 4 ++++ package/tealdeer/tealdeer.mk | 12 ++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/tealdeer/Config.in create mode 100644 package/tealdeer/tealdeer.hash create mode 100644 package/tealdeer/tealdeer.mk diff --git a/DEVELOPERS b/DEVELOPERS index 82e5c200e8..1fee7554db 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -657,6 +657,7 @@ F: package/libftdi1/ N: Danilo Bargen F: board/pcengines/apu2/ F: configs/pcengines_apu2_defconfig +F: package/tealdeer/ N: Danomi Manchego F: package/cjson/ diff --git a/package/Config.in b/package/Config.in index afdc563c2d..f039d83113 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2627,6 +2627,7 @@ menu "System tools" source "package/systemd-bootchart/Config.in" source "package/sysvinit/Config.in" source "package/tar/Config.in" + source "package/tealdeer/Config.in" source "package/thermald/Config.in" source "package/tpm-tools/Config.in" source "package/tpm2-abrmd/Config.in" diff --git a/package/tealdeer/Config.in b/package/tealdeer/Config.in new file mode 100644 index 0000000000..96ed81614b --- /dev/null +++ b/package/tealdeer/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_TEALDEER + bool "tealdeer" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + A fast and full-featured tldr client. tldr pages are + simplified and community-driven man pages, see + https://tldr.sh/ for more information. + + https://github.com/dbrgn/tealdeer/ diff --git a/package/tealdeer/tealdeer.hash b/package/tealdeer/tealdeer.hash new file mode 100644 index 0000000000..0e53174841 --- /dev/null +++ b/package/tealdeer/tealdeer.hash @@ -0,0 +1,4 @@ +# Locally generated +sha256 42febf9ee84721b9230077d62e2fc51201fd59624d3c776ccc1a634788768a60 tealdeer-1.5.0.tar.gz +sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE +sha256 a313b5e62b80a08f3aae0fa62ff3de8482ef55247299eb352ab44f87ef456b1b LICENSE-MIT diff --git a/package/tealdeer/tealdeer.mk b/package/tealdeer/tealdeer.mk new file mode 100644 index 0000000000..c396225098 --- /dev/null +++ b/package/tealdeer/tealdeer.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# tealdeer +# +################################################################################ + +TEALDEER_VERSION = 1.5.0 +TEALDEER_SITE = $(call github,dbrgn,tealdeer,v$(TEALDEER_VERSION)) +TEALDEER_LICENSE = Apache-2.0 or MIT +TEALDEER_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT + +$(eval $(cargo-package))