-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuildvim
More file actions
executable file
·22 lines (18 loc) · 786 Bytes
/
Copy pathbuildvim
File metadata and controls
executable file
·22 lines (18 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
__hgroot='http://vim.googlecode.com/hg/'
__hgrepo='vim'
__hgbranch='default'
__hgrev=ca39f14c1ec3
hg clone -b ${__hgbranch} -u ${__hgrev} "${__hgroot}${__hgrepo}" ${__hgrepo}
echo hg clone -b ${__hgbranch} -u ${__hgrev} "${__hgroot}${__hgrepo}" ${__hgrepo}
if (( $(hg id -n) < $(hg id -nr ${__hgbranch}) )); then
printf 'You are not building the latest revision!\n'
printf "Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n"
fi
cd $__hgrepo
./configure --prefix=$HOME/tools/ \
--with-features=huge --with-compiledby='Dante Sun'\
--enable-gpm --enable-acl --with-x=yes \
--enable-gui=gtk2 --enable-multibyte --enable-cscope \
--enable-netbeans --enable-perlinterp --enable-pythoninterp \
--disable-python3interp --enable-rubyinterp --enable-luainterp