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
|
2016-03-17 10:27:20 +01:00
|
|
|
version=7.4.1583
|
2007-05-13 10:45:47 +02:00
|
|
|
release=1
|
2013-11-18 12:40:13 +01:00
|
|
|
source=(http://crux.nu/files/distfiles/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
2013-11-18 12:40:13 +01:00
|
|
|
cd $name-$version/src
|
2010-11-05 17:20:48 +01:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
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 \
|
2016-03-17 10:27:20 +01:00
|
|
|
--enable-cscope \
|
2007-04-19 18:22:16 +02:00
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls
|
|
|
|
|
2011-04-04 09:20:21 +02:00
|
|
|
make VIMRTDIR=
|
2014-12-30 13:58:55 +01:00
|
|
|
make -j1 VIMRTDIR= DESTDIR=$PKG install
|
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
|
2015-07-25 20:51:52 +02:00
|
|
|
rm -r $PKG/usr/{share/man/man?/vimtutor*,share/vim/{tutor,macros},bin/vimtutor}
|
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
|
2015-07-25 20:51:52 +02:00
|
|
|
ln -sf vim.1.gz $PKG/usr/share/man/man1/ex.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/share/man/man1/vi.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/share/man/man1/rvim.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/share/man/man1/view.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/share/man/man1/rview.1.gz
|
|
|
|
ln -sf vim.1.gz $PKG/usr/share/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=
|
2014-12-30 13:58:55 +01:00
|
|
|
make -j1 VIMRTDIR= DESTDIR=$PKG installvimbin
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|