wok annotate gvim/receipt @ rev 9257

Add: linux-libre 2.6.37-libre (part 1)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:23:44 2011 +0100 (2011-03-15)
parents 3cddd3e4bd3e
children ee65475504e7
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"
gokhlayeh@9147 6 SHORT_DESC="Advanced text editor, with gtk+ GUI"
erjo@2928 7 MAINTAINER="erjo@slitaz.org"
gokhlayeh@9131 8 DEPENDS="ncurses gtk+ xorg-libXt"
gokhlayeh@9147 9 SOURCE="vim"
gokhlayeh@9147 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@2928 11 WEB_SITE="http://www.vim.org/"
gokhlayeh@9147 12 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL"
gokhlayeh@9147 13 CONFIG_FILES="/etc/vim/vimrc"
gokhlayeh@9147 14 TAGS="text-editor"
erjo@2928 15
gokhlayeh@9131 16 # Rules to configure and make the package.
gokhlayeh@9131 17 compile_rules()
gokhlayeh@9131 18 {
gokhlayeh@9131 19 cd $src
gokhlayeh@9131 20
gokhlayeh@9131 21 ./configure --prefix=/usr \
gokhlayeh@9131 22 --cache-file=$PWD/config.cache \
gokhlayeh@9131 23 --infodir=/usr/share/info \
gokhlayeh@9131 24 --with-features=normal \
gokhlayeh@9131 25 --enable-gui=gtk2 \
gokhlayeh@9131 26 --enable-multibyte \
gokhlayeh@9131 27 --disable-motif-check \
gokhlayeh@9131 28 --disable-athena-check \
gokhlayeh@9131 29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
gokhlayeh@9131 30
gokhlayeh@9145 31 make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim72 MAKE="make -e" &&
gokhlayeh@9131 32 make DESTDIR=$DESTDIR install
gokhlayeh@9131 33 mkdir -p $DESTDIR/etc/vim
gokhlayeh@9131 34 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc
gokhlayeh@9131 35 }
gokhlayeh@9131 36
erjo@2928 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2928 38 genpkg_rules()
erjo@2928 39 {
gokhlayeh@9131 40 mkdir -p -p $fs/usr/share/pixmaps \
erjo@2928 41 -p $fs/usr/share/applications
gokhlayeh@9131 42
gokhlayeh@9131 43 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@9131 44 cp -a $_pkg/usr/share/vim $fs/usr/share
slaxemulator@8751 45 cp -a $src/runtime/vim16x16.png $fs/usr/share/pixmaps/gvim.png
erjo@2928 46 cp -a stuff/gvim.desktop $fs/usr/share/applications
gokhlayeh@9131 47 rm -f $fs/usr/bin/*vimtutor
erjo@2928 48 }
erjo@2928 49
erjo@2928 50