mirror of
git://git.2f30.org/morpheus.git
synced 2024-07-01 03:21:28 +00:00
27 lines
453 B
Plaintext
27 lines
453 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=musl-gcc ./configure --prefix=$root \
|
|
CFLAGS="-I$top/cross/include -I$top/cross/include/ncurses" \
|
|
LDFLAGS="-static -L$top/cross/lib" || return 1
|
|
make CC=musl-gcc -j$nprocs || return 1
|
|
popd
|
|
}
|
|
|
|
install() {
|
|
pushd src/tmux-1.8
|
|
make install || return 1
|
|
popd
|
|
}
|