mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 18:41:22 +00:00
27 lines
417 B
Plaintext
27 lines
417 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"
|
||
|
make CC=musl-gcc -j$nprocs
|
||
|
popd
|
||
|
}
|
||
|
|
||
|
install() {
|
||
|
pushd src/tmux-1.8
|
||
|
make install
|
||
|
popd
|
||
|
}
|