2008-08-13 11:39:13 +02:00
|
|
|
# Description: Highly configurable text editor
|
2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://www.vim.org/
|
2007-05-13 10:45:47 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: ncurses
|
|
|
|
|
|
|
|
name=vim
|
2010-03-20 08:40:05 +01:00
|
|
|
version=7.2.400
|
2007-05-13 10:45:47 +02:00
|
|
|
release=1
|
2009-06-18 10:01:11 +02:00
|
|
|
source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
|
2009-09-14 11:17:00 +02:00
|
|
|
ftp://ftp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gz
|
|
|
|
ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz
|
|
|
|
ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz
|
|
|
|
ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz
|
2010-01-28 17:30:12 +01:00
|
|
|
ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz
|
2010-03-20 08:40:05 +01:00
|
|
|
ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2008-08-13 11:39:13 +02:00
|
|
|
cd vim72/src
|
2007-09-29 09:53:47 +02:00
|
|
|
|
2009-09-14 11:17:00 +02:00
|
|
|
gunzip -c $SRC/7.2.*.gz | patch -p0 -d $SRC/vim72
|
2008-11-28 11:54:55 +01:00
|
|
|
|
2006-02-23 15:26:10 +00: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 \
|
|
|
|
--with-x=no \
|
|
|
|
--enable-gui=no \
|
|
|
|
--enable-multibyte \
|
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make VIMRTDIR=
|
|
|
|
make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks
|
2006-09-24 09:55:58 +00:00
|
|
|
|
2006-02-23 15:26:10 +00: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 15:26:10 +00: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 15:26:10 +00: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=/ \
|
|
|
|
--with-vim-name=vi \
|
|
|
|
--with-x=no \
|
|
|
|
--enable-gui=no \
|
|
|
|
--enable-multibyte \
|
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls \
|
|
|
|
--with-features=tiny
|
|
|
|
|
|
|
|
make VIMRTDIR= DESTDIR=$PKG installvimbin
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|