aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim.sh
blob: cf611f91c22655d91d62b7947b4b79f93d51972c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
. ./.vars
export DESTDIR=$prefix
VERSION=8.0.586
BUILD_DIR="${build_dir}/vim80"
if ! [ -d "$BUILD_DIR" ] ; then
	cd "$build_dir"
	tar xfjv ${dist_dir}/vim-$VERSION.tar.bz2
fi
cd "$BUILD_DIR"
export LDFLAGS="-static"
export DESTDIR="$prefix"
make distclean || echo ""
./configure --prefix=/usr \
	--host=$BUILD_TGT \
	--with-tlib=ncurses \
	--enable-gui=no \
	--without-x \
	--with-local-dir=$prefix/usr
make -j$(numproc)
make install