wok annotate gvim/receipt @ rev 9145

Trying to fix VINRUNTIMEDIR (Thanks kans)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 06 22:02:23 2011 +0100 (2011-03-06)
parents ab3455634715
children 240266efee48
rev   line source
erjo@2928 1 # SliTaz package receipt.
erjo@2928 2
erjo@2928 3 PACKAGE="gvim"
erjo@2928 4 VERSION="7.2"
erjo@2928 5 CATEGORY="development"
erjo@2928 6 SHORT_DESC="Advanced text editor"
erjo@2928 7 MAINTAINER="erjo@slitaz.org"
gokhlayeh@9131 8 DEPENDS="ncurses gtk+ xorg-libXt"
erjo@2928 9 WEB_SITE="http://www.vim.org/"
erjo@2928 10
gokhlayeh@9131 11 # Rules to configure and make the package.
gokhlayeh@9131 12 compile_rules()
gokhlayeh@9131 13 {
gokhlayeh@9131 14 cd $src
gokhlayeh@9131 15
gokhlayeh@9131 16 ./configure --prefix=/usr \
gokhlayeh@9131 17 --cache-file=$PWD/config.cache \
gokhlayeh@9131 18 --infodir=/usr/share/info \
gokhlayeh@9131 19 --with-features=normal \
gokhlayeh@9131 20 --enable-gui=gtk2 \
gokhlayeh@9131 21 --enable-multibyte \
gokhlayeh@9131 22 --disable-motif-check \
gokhlayeh@9131 23 --disable-athena-check \
gokhlayeh@9131 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
gokhlayeh@9131 25
gokhlayeh@9145 26 make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim72 MAKE="make -e" &&
gokhlayeh@9131 27 make DESTDIR=$DESTDIR install
gokhlayeh@9131 28 mkdir -p $DESTDIR/etc/vim
gokhlayeh@9131 29 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc
gokhlayeh@9131 30 }
gokhlayeh@9131 31
erjo@2928 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2928 33 genpkg_rules()
erjo@2928 34 {
gokhlayeh@9131 35 mkdir -p -p $fs/usr/share/pixmaps \
erjo@2928 36 -p $fs/usr/share/applications
gokhlayeh@9131 37
gokhlayeh@9131 38 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@9131 39 cp -a $_pkg/usr/share/vim $fs/usr/share
slaxemulator@8751 40 cp -a $src/runtime/vim16x16.png $fs/usr/share/pixmaps/gvim.png
erjo@2928 41 cp -a stuff/gvim.desktop $fs/usr/share/applications
gokhlayeh@9131 42 rm -f $fs/usr/bin/*vimtutor
erjo@2928 43 }
erjo@2928 44
erjo@2928 45