]>
Commit | Line | Data |
---|---|---|
52ac63ac | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
52ac63ac MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = vim |
7 | version = 7.3 | |
8 | release = 1 | |
52ac63ac | 9 | |
802ea3af MT |
10 | groups = Base Applications/Editors |
11 | url = http://www.vim.org | |
12 | license = PublicDomain/Charityware | |
13 | summary = Very feature- and powerful editor. | |
52ac63ac | 14 | |
802ea3af | 15 | description |
52ac63ac MT |
16 | Vim is a highly configurable text editor built to enable efficient \ |
17 | text editing. It is an improved version of the vi editor \ | |
802ea3af MT |
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 | |
52ac63ac | 25 | |
802ea3af MT |
26 | build |
27 | requires | |
28 | libacl-devel | |
29 | libselinux-devel | |
30 | ncurses-devel | |
31 | end | |
52ac63ac | 32 | |
802ea3af MT |
33 | configure_options += \ |
34 | --enable-multibyte \ | |
35 | --enable-selinux | |
52ac63ac | 36 | |
802ea3af MT |
37 | configure_cmds |
38 | echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h | |
39 | end | |
52ac63ac | 40 | |
802ea3af MT |
41 | install_cmds |
42 | ln -sfv vim %{BUILDROOT}/usr/bin/vi | |
52ac63ac | 43 | |
802ea3af MT |
44 | # Install configuration |
45 | mkdir -pv %{BUILDROOT}/etc | |
46 | cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}/etc/vimrc | |
52ac63ac | 47 | |
802ea3af MT |
48 | # Remove script for c-shell |
49 | rm -rf %{BUILDROOT}/usr/share/vim/vim73/tools/vim132 | |
50 | end | |
51 | end | |
8429d60a | 52 | |
802ea3af MT |
53 | packages |
54 | package %{name} | |
55 | end | |
56 | end |