wok-current diff vim-tiny/receipt @ rev 11240
Up: gcompris, goocanvas, pidgin
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 06 20:29:05 2011 +0000 (2011-11-06) |
parents | be13f25e790b |
children | 749ffdd335d7 |
line diff
1.1 --- a/vim-tiny/receipt Sun Feb 20 06:53:59 2011 +0000 1.2 +++ b/vim-tiny/receipt Sun Nov 06 20:29:05 2011 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="vim-tiny" 1.7 -VERSION="7.2" 1.8 +VERSION="7.3" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Advanced text editor with no GUI" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -10,19 +10,24 @@ 1.13 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.14 WEB_SITE="http://www.vim.org/" 1.15 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" 1.16 -CONFIG_FILES="/etc/vimrc.tiny" 1.17 +CONFIG_FILES="/etc/vim/vimrc" 1.18 TAGS="text-editor" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 + 1.25 + # define the place for the global vimrc file (set to /etc/vim/vimrc) 1.26 + # (patch from Arch Linux PKGBUILD) 1.27 + sed -i 's|^.*\(#define SYS_VIMRC_FILE\).*$|\1 "/etc/vim/vimrc"|' $src/src/feature.h 1.28 1.29 ./configure --prefix=/usr \ 1.30 --cache-file=$PWD/config.cache \ 1.31 --infodir=/usr/share/info \ 1.32 --with-features=tiny \ 1.33 - --enable-gui=no \ 1.34 + --with-x=no \ 1.35 + --disable-gui \ 1.36 --enable-multibyte \ 1.37 --with-vim-name=$PACKAGE \ 1.38 --disable-acl \ 1.39 @@ -30,7 +35,7 @@ 1.40 --disable-athena-check \ 1.41 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.42 1.43 - make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/$src MAKE="make -e" && 1.44 + make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim73 MAKE="make -e" && 1.45 make DESTDIR=$DESTDIR install 1.46 mkdir -p $DESTDIR/etc/vim 1.47 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc 1.48 @@ -39,10 +44,11 @@ 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - mkdir -p $fs/usr $fs/usr/share 1.53 + mkdir -p $fs/usr/share $fs/etc 1.54 1.55 cp -a $_pkg/usr/bin $fs/usr 1.56 cp -a $_pkg/usr/share/vim $fs/usr/share 1.57 + cp -a $_pkg/etc/vim $fs/etc 1.58 rm -f $fs/usr/bin/*tutor 1.59 } 1.60