From b2b69fe49c7e785e6479df27c274edd572587cf1 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 10 Jan 2019 16:37:55 +0100 Subject: [PATCH] Tools/tmux: build-block added --- Tools/tmux/build | 25 +++++++++++++++++++++++++ Tools/tmux/files/variants | 1 + Tools/tmux/modulefile | 14 ++++++++++++++ 3 files changed, 40 insertions(+) create mode 100755 Tools/tmux/build create mode 100644 Tools/tmux/files/variants create mode 100644 Tools/tmux/modulefile diff --git a/Tools/tmux/build b/Tools/tmux/build new file mode 100755 index 0000000..66749b1 --- /dev/null +++ b/Tools/tmux/build @@ -0,0 +1,25 @@ +#!/usr/bin/env modbuild + +module use Libraries +pbuild::add_to_group 'Tools' + +pbuild::set_download_url \ + "https://github.com/tmux/tmux/releases/download/${V_PKG}/$P-${V_PKG}.tar.gz" +pbuild::set_sha256sum \ + 'tmux-2.8.tar.gz:7f6bf335634fafecff878d78de389562ea7f73a7367f268b66d37ea13617a2ba' + +pbuild::install_docfiles 'CHANGES' +pbuild::install_docfiles 'COPYING' +pbuild::install_docfiles 'README' +pbuild::install_docfiles 'README.ja' +pbuild::install_docfiles 'TODO' + +pbuild::post_install() { + pbuild::install_shared_libs 'bin/tmux' 'libevent' +} + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/tmux/files/variants b/Tools/tmux/files/variants new file mode 100644 index 0000000..1001835 --- /dev/null +++ b/Tools/tmux/files/variants @@ -0,0 +1 @@ +tmux/2.8 stable b:libevent/2.1.8 diff --git a/Tools/tmux/modulefile b/Tools/tmux/modulefile new file mode 100644 index 0000000..4bfcba0 --- /dev/null +++ b/Tools/tmux/modulefile @@ -0,0 +1,14 @@ +#%Pmodule + +module-whatis "terminal multiplexer" +module-url "https://github.com/tmux/tmux/wiki" +module-license "See \$TMUX_DIR/share/doc/tmux/COPYING" +module-maintainer "Achim Gsell " + +module-help " +tmux is a terminal multiplexer. It lets you switch easily between several +programs in one terminal, detach them (they keep running in the background) +and reattach them to a different terminal. And do a lot more. See the tmux(1) +manual page and the README. +" +