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
|
2009-04-23 11:19:01 +02:00
|
|
|
version=7.2.160
|
2007-05-13 10:45:47 +02:00
|
|
|
release=1
|
2008-11-28 11:54:55 +01:00
|
|
|
source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 \
|
2009-02-10 18:07:41 +01:00
|
|
|
http://crux.nu/~jue/files/dist/vim-7.2.001-051.tar.bz2 \
|
2009-04-23 11:19:01 +02:00
|
|
|
http://crux.nu/~jue/files/dist/vim-7.2.052-102.tar.bz2 \
|
|
|
|
http://crux.nu/~jue/files/dist/vim-7.2.103-160.tar.bz2)
|
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
|
|
|
|
2008-11-28 11:54:55 +01:00
|
|
|
cat $SRC/vim-7.2-patches/* | patch -p0 -d $SRC/vim72
|
|
|
|
|
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
|
2006-05-09 16:58:17 +00:00
|
|
|
rm -rf $PKG/usr/man/man?/vimtutor* $PKG/usr/share/vim/tutor $PKG/usr/share/vim/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
|
|
|
}
|