wok-6.x view gvim/receipt @ rev 9294

Down erlang (R12B-5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 17 11:20:04 2011 +0100 (2011-03-17)
parents 3cddd3e4bd3e
children ee65475504e7
line source
1 # SliTaz package receipt.
3 PACKAGE="gvim"
4 VERSION="7.2"
5 CATEGORY="development"
6 SHORT_DESC="Advanced text editor, with gtk+ GUI"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ncurses gtk+ xorg-libXt"
9 SOURCE="vim"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.vim.org/"
12 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL"
13 CONFIG_FILES="/etc/vim/vimrc"
14 TAGS="text-editor"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 ./configure --prefix=/usr \
22 --cache-file=$PWD/config.cache \
23 --infodir=/usr/share/info \
24 --with-features=normal \
25 --enable-gui=gtk2 \
26 --enable-multibyte \
27 --disable-motif-check \
28 --disable-athena-check \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim72 MAKE="make -e" &&
32 make DESTDIR=$DESTDIR install
33 mkdir -p $DESTDIR/etc/vim
34 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p -p $fs/usr/share/pixmaps \
41 -p $fs/usr/share/applications
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/share/vim $fs/usr/share
45 cp -a $src/runtime/vim16x16.png $fs/usr/share/pixmaps/gvim.png
46 cp -a stuff/gvim.desktop $fs/usr/share/applications
47 rm -f $fs/usr/bin/*vimtutor
48 }