]>
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 | |
c6060300 | 8 | release = 3 |
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 |
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 | ||
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 MT |
46 | configure_cmds |
47 | echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h | |
48 | end | |
52ac63ac | 49 | |
802ea3af MT |
50 | install_cmds |
51 | ln -sfv vim %{BUILDROOT}/usr/bin/vi | |
52ac63ac | 52 | |
802ea3af MT |
53 | # Install configuration |
54 | mkdir -pv %{BUILDROOT}/etc | |
55 | cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}/etc/vimrc | |
52ac63ac | 56 | |
802ea3af MT |
57 | # Remove script for c-shell |
58 | rm -rf %{BUILDROOT}/usr/share/vim/vim73/tools/vim132 | |
59 | end | |
60 | end | |
8429d60a | 61 | |
802ea3af MT |
62 | packages |
63 | package %{name} | |
a5b6959d | 64 | groups += Base |
802ea3af | 65 | end |
1f9bc2f0 MT |
66 | |
67 | package %{name}-debuginfo | |
68 | template DEBUGINFO | |
69 | end | |
802ea3af | 70 | end |