Tools/tmux: build-block added

This commit is contained in:
2019-01-10 16:37:55 +01:00
parent 8e88c8d9ec
commit b2b69fe49c
3 changed files with 40 additions and 0 deletions

25
Tools/tmux/build Executable file
View File

@@ -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:

View File

@@ -0,0 +1 @@
tmux/2.8 stable b:libevent/2.1.8

14
Tools/tmux/modulefile Normal file
View File

@@ -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 <achim.gsell@psi.ch>"
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.
"