2008-08-13 11:39:13 +02:00
|
|
|
# Description: Highly configurable text editor
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://www.vim.org/
|
2007-05-13 10:45:47 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2010-07-02 21:56:39 +02:00
|
|
|
# Depends on: ncurses acl
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=vim
|
2013-08-11 09:50:06 +02:00
|
|
|
version=7.4
|
2007-05-13 10:45:47 +02:00
|
|
|
release=1
|
2013-08-11 09:50:06 +02:00
|
|
|
source=(ftp://ftp.vim.org/pub/vim/unix/$name-$version.tar.bz2)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
2013-08-11 09:50:06 +02:00
|
|
|
cd ${name}${version/./}/src
|
2010-11-05 17:20:48 +01:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
2008-08-13 11:39:13 +02:00
|
|
|
--mandir=/usr/man \
|
2007-04-19 18:22:16 +02:00
|
|
|
--with-vim-name=vim \
|
2011-04-04 09:20:21 +02:00
|
|
|
--without-x \
|
|
|
|
--disable-gui \
|
2007-04-19 18:22:16 +02:00
|
|
|
--enable-multibyte \
|
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls
|
|
|
|
|
2011-04-04 09:20:21 +02:00
|
|
|
make VIMRTDIR=
|
2006-02-23 16:26:10 +01:00
|
|
|
make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks
|
2006-09-24 11:55:58 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc
|
2009-09-14 11:17:00 +02:00
|
|
|
rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros}}
|
2008-01-29 10:20:42 +01:00
|
|
|
rm $PKG/usr/share/vim/*/README.txt
|
2006-02-23 16:26:10 +01:00
|
|
|
ln -sf vim $PKG/usr/bin/evim
|
2007-02-21 13:05:38 +01:00
|
|
|
ln -sf /bin/vi $PKG/usr/bin/vi
|
2006-02-23 16:26:10 +01:00
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz
|
2007-02-16 12:43:21 +01:00
|
|
|
|
|
|
|
./configure --prefix=/ \
|
2011-04-04 09:20:21 +02:00
|
|
|
--datarootdir=/usr/share \
|
2007-02-16 12:43:21 +01:00
|
|
|
--with-vim-name=vi \
|
2011-04-04 09:20:21 +02:00
|
|
|
--without-x \
|
|
|
|
--disable-gui \
|
2007-02-16 12:43:21 +01:00
|
|
|
--enable-multibyte \
|
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls \
|
|
|
|
--with-features=tiny
|
|
|
|
|
2011-04-04 09:20:21 +02:00
|
|
|
make VIMRTDIR=
|
2007-02-16 12:43:21 +01:00
|
|
|
make VIMRTDIR= DESTDIR=$PKG installvimbin
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|