]>
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 | |
97b3adee | 8 | release = 5 |
52ac63ac | 9 | |
a5b6959d | 10 | groups = Applications/Editors |
802ea3af MT |
11 | url = http://www.vim.org |
12 | license = PublicDomain/Charityware | |
13 | summary = Very feature- and powerful editor. | |
52ac63ac | 14 | |
802ea3af | 15 | description |
e240a306 SS |
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 | ||
52ac63ac | 24 | |
802ea3af | 25 | build |
c6060300 MT |
26 | DIR_APP = %{DIR_SRC}/%{name}73 |
27 | ||
802ea3af MT |
28 | requires |
29 | libacl-devel | |
30 | libselinux-devel | |
31 | ncurses-devel | |
c6060300 | 32 | python-devel |
802ea3af | 33 | end |
52ac63ac | 34 | |
802ea3af | 35 | configure_options += \ |
c6060300 MT |
36 | --with-features=huge \ |
37 | --enable-pythoninterp \ | |
38 | --enable-gui=no \ | |
802ea3af | 39 | --enable-multibyte \ |
c6060300 MT |
40 | --enable-cscope \ |
41 | --enable-selinux \ | |
42 | --with-tlib=ncurses \ | |
43 | --with-modified-by="<bugzilla@ipfire.org>" \ | |
44 | --with-compiled-by="<bugzilla@ipfire.org>" | |
52ac63ac | 45 | |
802ea3af | 46 | configure_cmds |
e240a306 | 47 | echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h |
802ea3af | 48 | end |
52ac63ac | 49 | |
802ea3af | 50 | install_cmds |
e240a306 | 51 | ln -sfv vim %{BUILDROOT}%{bindir}/vi |
52ac63ac | 52 | |
802ea3af | 53 | # Install configuration |
e240a306 SS |
54 | mkdir -pv %{BUILDROOT}%{sysconfdir} |
55 | cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc | |
52ac63ac | 56 | |
802ea3af | 57 | # Remove script for c-shell |
e240a306 | 58 | rm -rf %{BUILDROOT}%{datadir}/vim/vim73/tools/vim132 |
802ea3af MT |
59 | end |
60 | end | |
8429d60a | 61 | |
802ea3af MT |
62 | packages |
63 | package %{name} | |
a5b6959d | 64 | groups += Base |
e240a306 SS |
65 | |
66 | configfiles | |
97b3adee | 67 | %{sysconfdir}/vimrc |
e240a306 | 68 | end |
802ea3af | 69 | end |
1f9bc2f0 MT |
70 | |
71 | package %{name}-debuginfo | |
72 | template DEBUGINFO | |
73 | end | |
802ea3af | 74 | end |