mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 02:11:21 +00:00
25 lines
368 B
Plaintext
25 lines
368 B
Plaintext
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=x86_64-linux-musl-gcc ./configure --prefix=$root LDFLAGS=-static || return 1
|
|
make -j$nprocs || return 1
|
|
popd
|
|
}
|
|
|
|
install() {
|
|
pushd src/tmux-1.8
|
|
make install || return 1
|
|
popd
|
|
}
|