wok-current diff vim/receipt @ rev 10407
autoconf: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 06:48:16 2011 +0000 (2011-05-24) |
parents | 3cddd3e4bd3e |
children | dd9679f8a35f |
line diff
1.1 --- a/vim/receipt Sun Mar 06 22:02:23 2011 +0100 1.2 +++ b/vim/receipt Tue May 24 06:48:16 2011 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="vim" 1.7 -VERSION="7.2" 1.8 +VERSION="7.3" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Advanced text editor" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -16,18 +16,23 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 + 1.17 + # define the place for the global vimrc file (set to /etc/vim/vimrc) 1.18 + # (patch from Arch Linux PKGBUILD) 1.19 + sed -i 's|^.*\(#define SYS_VIMRC_FILE\).*$|\1 "/etc/vim/vimrc"|' $src/src/feature.h 1.20 1.21 ./configure --prefix=/usr \ 1.22 --cache-file=$PWD/config.cache \ 1.23 --infodir=/usr/share/info \ 1.24 --with-features=normal \ 1.25 + --with-x=no \ 1.26 --disable-gui \ 1.27 --enable-multibyte \ 1.28 --disable-motif-check \ 1.29 --disable-athena-check \ 1.30 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.31 1.32 - make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim72 MAKE="make -e" && 1.33 + make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim73 MAKE="make -e" && 1.34 make DESTDIR=$DESTDIR install 1.35 mkdir -p $DESTDIR/etc/vim 1.36 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc 1.37 @@ -36,11 +41,11 @@ 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - mkdir -p $fs/usr $fs/usr/share 1.42 + mkdir -p $fs/usr/share $fs/etc 1.43 1.44 cp -a $_pkg/usr/bin $fs/usr 1.45 cp -a $_pkg/usr/share/vim $fs/usr/share 1.46 - rm -f $fs/usr/bin/*vimtutor 1.47 + cp -a $_pkg/etc/vim $fs/etc 1.48 } 1.49 1.50 post_install()