1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-28 15:01:22 +00:00
morpheus/pkgs/tmux
2014-02-20 16:10:47 +00:00

26 lines
402 B
Plaintext

url=$mirror/tmux-1.8.tar.gz
fetch() {
wget -c $url -O src/tmux-1.8.tar.gz
}
unpack() {
cd src
[ -d tmux-1.8 ] || tar xzf tmux-1.8.tar.gz
cd -
}
build() {
cd src/tmux-1.8
CC=x86_64-linux-musl-gcc ./configure --prefix="$root" LDFLAGS=-static \
CFLAGS="-I$libcroot/include/ncurses" || return 1
make -j$nprocs || return 1
cd -
}
install() {
cd src/tmux-1.8
make install || return 1
cd -
}