wok-6.x rev 2927
Fix: Vim, add GUI support. Add global vimrc
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 07 10:29:32 2009 +0200 (2009-05-07) |
parents | f306d126580e |
children | 13609acc2c78 |
files | vim/receipt |
line diff
1.1 --- a/vim/receipt Thu May 07 09:37:08 2009 +0200 1.2 +++ b/vim/receipt Thu May 07 10:29:32 2009 +0200 1.3 @@ -9,6 +9,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://www.vim.org/" 1.6 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" 1.7 +CONFIG_FIELS="/etc/vimrc" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 @@ -20,11 +21,12 @@ 1.12 --cache-file=$PWD/config.cache \ 1.13 --infodir=/usr/share/info \ 1.14 --with-features=normal \ 1.15 - --enable-gui=no \ 1.16 - --without-x 1.17 + --enable-gui=gtk2 \ 1.18 + --disable-motif-check \ 1.19 + --disable-athena-check \ 1.20 --mandir=/usr/share/man $CONFIGURE_ARGS 1.21 1.22 - make 1.23 + make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim MAKE="make -e" 1.24 make DESTDIR=$PWD/_pkg install 1.25 } 1.26 1.27 @@ -32,14 +34,15 @@ 1.28 genpkg_rules() 1.29 { 1.30 _pkg="$PWD/vim72/_pkg" 1.31 - mkdir -p $fs/usr $fs/usr/share 1.32 + 1.33 + mkdir -p $fs/usr $fs/usr/share $fs/etc/vim 1.34 + 1.35 cp -a $_pkg/usr/bin $fs/usr 1.36 cp -a $_pkg/usr/share/vim $fs/usr/share 1.37 + cp -a $WOK/$PACKAGE/vim72/runtime/vimrc_example.vim $fs/etc/vim/vimrc 1.38 + rm -f $fs/usr/bin/*vimtutor 1.39 +} 1.40 1.41 - rm -f $fs/usr/bin/vimtutor 1.42 - 1.43 - strip -s $fs/usr/bin/* 1.44 -} 1.45 1.46 1.47 # Rules to clean extras dirs or files