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