1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-28 20:51:23 +00:00
morpheus/pkgs/vim
2014-02-26 10:23:10 +00:00

27 lines
521 B
Plaintext

url=http://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
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
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 --disable-netbeans || return 1
make -j$nprocs || return 1
cd -
}
install() {
cd src/vim74
make DESTDIR="$root" install || return 1
cd -
}