1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-25 23:58:33 +00:00
morpheus/pkgs/vim

27 lines
502 B
Plaintext
Raw Normal View History

2014-02-26 09:53:28 +00:00
url=http://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
2014-02-26 09:01:52 +00:00
fetch() {
wget -c $url -O src/vim-7.4.tar.bz2
}
unpack() {
cd src
[ -d vim-7.4 ] || tar xjf vim-7.4.tar.bz2
cd -
}
build() {
cd src/vim74
2014-02-26 10:17:27 +00:00
CC=x86_64-linux-musl-gcc CFLAGS="-I$libcroot/include" LDFLAGS="-L$libcroot/lib -static" ./configure --prefix=/ \
--enable-multibyte --disable-gui --with-x=no \
--disable-nls || return 1
2014-02-26 09:01:52 +00:00
make -j$nprocs || return 1
cd -
}
install() {
cd src/vim74
make DESTDIR="$root" install || return 1
cd -
}