CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / vim / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Highly configurable text editor
2# URL: http://www.vim.org/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
16689a21 5# Depends on: ncurses acl
6dca1d21
JB
6
7name=vim
a1362674 8version=7.4.316
6dca1d21 9release=1
a1362674 10source=(http://crux.nu/files/distfiles/$name-$version.tar.xz)
6dca1d21
JB
11
12build () {
a1362674 13 cd $name-$version/src
6dca1d21 14
93b71f3b 15 cat > auto/config.cache << EOF
6dca1d21
JB
16vim_cv_getcwd_broken=no
17vim_cv_memmove_handles_overlap=yes
18vim_cv_stat_ignores_slash=no
19vim_cv_terminfo=yes
20vim_cv_tgent=zero
21vim_cv_toupper_broken=no
22vim_cv_tty_group=world
23ac_cv_sizeof_int=4
93b71f3b 24vim_cv_toupper_broken=no
6dca1d21
JB
25EOF
26
93b71f3b
VM
27 ./configure --build=$CHOST \
28 --host=$CTARGET \
29 --prefix=/usr \
30 --mandir=/usr/man \
31 --with-vim-name=vim \
f106a764 32 --without-x \
93b71f3b 33 --with-tlib=ncurses \
f106a764 34 --disable-gui \
f106a764 35 --enable-multibyte \
93b71f3b
VM
36 --disable-gpm \
37 --disable-nls \
38 --cache-file=$SRC/src/auto/config.cache
39
f106a764
VM
40 make VIMRTDIR=
41 make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks
93b71f3b
VM
42
43 mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc
44 rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros}}
45 rm $PKG/usr/share/vim/*/README.txt
46 ln -sf vim $PKG/usr/bin/evim
47 ln -sf /bin/vi $PKG/usr/bin/vi
48 ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz
49 ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz
50 ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz
51 ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz
52 ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz
53 ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz
6dca1d21 54
93b71f3b
VM
55 ./configure --build=$CHOST \
56 --host=$CTARGET \
57 --prefix=/ \
b9e0f1fd 58 --datarootdir=/usr/share \
93b71f3b 59 --with-vim-name=vi \
b9e0f1fd
VM
60 --without-x \
61 --with-tlib=ncurses \
62 --disable-gui \
93b71f3b
VM
63 --enable-multibyte \
64 --disable-gpm \
65 --disable-nls \
93b71f3b 66 --with-features=tiny
6dca1d21 67
f106a764
VM
68 make VIMRTDIR=
69 make VIMRTDIR= DESTDIR=$PKG installvimbin
6dca1d21 70}