a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
600 B

tarxf ftp://ftp.vim.org/pub/vim/unix/ vim-7.3 .tar.bz2 vim73
for n in $(seq -w 001 $PATCHLEVEL); do
echo "Grabbing patch $n/$PATCHLEVEL"
wget -q -O - ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.$n | patch -p0
CFLAGS="-D_GNU_SOURCE" ./configure --prefix=/ --mandir=/share/man --localstatedir=/var/lib/vim \
--disable-nls --disable-netbeans --disable-gui --with-x=no --enable-multibyte
make -C src auto/osdef.h
sed -i '/define stack_t/d' src/auto/config.h
sed -i '/setenv/d' src/auto/osdef.h
sed -i '/putenv/d' src/auto/osdef.h
make -j1 VIMRCLOC=/etc DESTDIR=$R install