]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - vim/vim.nm
Move all packages to root.
[people/stevee/ipfire-3.x.git] / vim / vim.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = vim
7 version = 7.3
8 release = 1
9
10 groups = Base Applications/Editors
11 url = http://www.vim.org
12 license = PublicDomain/Charityware
13 summary = Very feature- and powerful editor.
14
15 description
16 Vim is a highly configurable text editor built to enable efficient \
17 text editing. It is an improved version of the vi editor \
18 distributed with most UNIX systems.
19 end
20
21 source_dl = ftp://ftp.vim.org/pub/vim/unix/
22 sources = %{thisapp}.tar.bz2
23
24 DIR_APP = %{DIR_SRC}/%{name}73
25
26 build
27 requires
28 libacl-devel
29 libselinux-devel
30 ncurses-devel
31 end
32
33 configure_options += \
34 --enable-multibyte \
35 --enable-selinux
36
37 configure_cmds
38 echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
39 end
40
41 install_cmds
42 ln -sfv vim %{BUILDROOT}/usr/bin/vi
43
44 # Install configuration
45 mkdir -pv %{BUILDROOT}/etc
46 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}/etc/vimrc
47
48 # Remove script for c-shell
49 rm -rf %{BUILDROOT}/usr/share/vim/vim73/tools/vim132
50 end
51 end
52
53 packages
54 package %{name}
55 end
56 end