morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 423f14e940db8a0a89617938127a3e01e5e10bf1
parent 3ed78e21f0f42fa3693d36b2c2d0021cbb0d69f0
Author: sin <sin@2f30.org>
Date:   Sat,  7 Sep 2013 15:40:54 +0100

Add tmux

Diffstat:
Apkgs/tmux | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/tmux b/pkgs/tmux @@ -0,0 +1,26 @@ +url=$mirror/tmux-1.8.tar.gz + +fetch() { + wget -c $url -O src/tmux-1.8.tar.gz +} + +unpack() { + pushd src + [ -d tmux-1.8 ] || tar xzf tmux-1.8.tar.gz + popd +} + +build() { + pushd src/tmux-1.8 + CC=musl-gcc ./configure --prefix=$root \ + CFLAGS="-I$top/cross/include -I$top/cross/include/ncurses" \ + LDFLAGS="-static -L$top/cross/lib" + make CC=musl-gcc -j$nprocs + popd +} + +install() { + pushd src/tmux-1.8 + make install + popd +}