diff options
author | Michael Lippautz <michael.lippautz@gmail.com> | 2011-04-18 20:13:59 +0200 |
---|---|---|
committer | Michael Lippautz <michael.lippautz@gmail.com> | 2011-04-18 20:59:07 +0200 |
commit | 55fccdc2be50ccbce3137abd658f5d1f95af6d60 (patch) | |
tree | f42ed08f5991cfafd191964bbb70fef23789fb46 /meta-oe/recipes-support/vim/vim.inc | |
parent | 02e3e6814c3c74050c9cdca48523a2496772bc4a (diff) | |
download | meta-openembedded-55fccdc2be50ccbce3137abd658f5d1f95af6d60.tar.gz |
vim: Add vim/tiny-vim/gvim 7.2 (patchset 446)
Changes from org.oe.dev:
* Include latest (stable) patchset
* Change from RCONFLICTS to RREPLACES where possible (gvim->vim->tiny-vim)
Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/vim/vim.inc')
-rw-r--r-- | meta-oe/recipes-support/vim/vim.inc | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/vim/vim.inc b/meta-oe/recipes-support/vim/vim.inc new file mode 100644 index 000000000..43924f347 --- /dev/null +++ b/meta-oe/recipes-support/vim/vim.inc | |||
@@ -0,0 +1,77 @@ | |||
1 | DESCRIPTION = "Vi IMproved - enhanced vi editor" | ||
2 | SECTION = "console/utils" | ||
3 | DEPENDS = "ncurses" | ||
4 | # vimdiff doesn't like busybox diff | ||
5 | RSUGGESTS_${PN} = "diffutils" | ||
6 | LICENSE = "vim" | ||
7 | LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36" | ||
8 | |||
9 | PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
10 | VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
11 | |||
12 | INC_PR = "r10" | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | ftp://ftp.vim.org/pub/vim/unix/vim-${PV_MAJOR}.tar.bz2;name=vim${PV_MAJOR}tarbz2 \ | ||
16 | ftp://ftp.vim.org/pub/vim/extra/vim-${PV_MAJOR}-extra.tar.gz;name=vim${PV_MAJOR}extratargz \ | ||
17 | ftp://ftp.vim.org/pub/vim/extra/vim-${PV_MAJOR}-lang.tar.gz;name=vim${PV_MAJOR}langtargz \ | ||
18 | " | ||
19 | |||
20 | S = "${WORKDIR}/vim${VIMDIR}/src" | ||
21 | |||
22 | inherit autotools update-alternatives | ||
23 | |||
24 | # vim configure.in contains functions which got 'dropped' by autotools.bbclass | ||
25 | do_configure () { | ||
26 | rm -f auto/* | ||
27 | touch auto/config.mk | ||
28 | aclocal | ||
29 | autoconf | ||
30 | oe_runconf | ||
31 | touch auto/configure | ||
32 | touch auto/config.mk auto/config.h | ||
33 | } | ||
34 | |||
35 | |||
36 | |||
37 | VIMFEATURES ?= "big" | ||
38 | VIMX ?= "--without-x" | ||
39 | VIMGUI ?= "no" | ||
40 | |||
41 | EXTRA_OECONF = " \ | ||
42 | --enable-gui=${VIMGUI} \ | ||
43 | --with-features=${VIMFEATURES} \ | ||
44 | ${VIMX} \ | ||
45 | --disable-gpm \ | ||
46 | --disable-gtktest \ | ||
47 | --disable-xim \ | ||
48 | --disable-netbeans \ | ||
49 | --with-tlib=ncurses \ | ||
50 | ac_cv_small_wchar_t=no \ | ||
51 | vim_cv_getcwd_broken=no \ | ||
52 | vim_cv_memmove_handles_overlap=yes \ | ||
53 | vim_cv_stat_ignores_slash=no \ | ||
54 | vim_cv_terminfo=yes \ | ||
55 | vim_cv_tgent=non-zero \ | ||
56 | vim_cv_toupper_broken=no \ | ||
57 | vim_cv_tty_group=world \ | ||
58 | " | ||
59 | |||
60 | PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor" | ||
61 | FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax" | ||
62 | FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc" | ||
63 | FILES_vim-tutor = "${datadir}/vim/vim${VIMVER}/tutor ${bindir}/vimtutor" | ||
64 | |||
65 | ALTERNATIVE_NAME = "vi" | ||
66 | ALTERNATIVE_PATH = "${bindir}/vim" | ||
67 | ALTERNATIVE_LINK = "${base_bindir}/vi" | ||
68 | ALTERNATIVE_PRIORITY = "100" | ||
69 | |||
70 | SRC_URI[vim7.2tarbz2.md5sum] = "f0901284b338e448bfd79ccca0041254" | ||
71 | SRC_URI[vim7.2tarbz2.sha256sum] = "914db0f2205ebd6f02878295ec2506036ea7500399db112c61a01491cd9a1d86" | ||
72 | SRC_URI[vim7.2langtargz.md5sum] = "d8884786979e0e520c112faf2e176f05" | ||
73 | SRC_URI[vim7.2langtargz.sha256sum] = "11607f539a4518b550bf1606b7d3a6f36c1ffdf566c058e7d94bced78034cd5b" | ||
74 | SRC_URI[vim7.2extratargz.md5sum] = "35e04482f07c57221c9a751aaa3b8dac" | ||
75 | SRC_URI[vim7.2extratargz.sha256sum] = "20894ac79672160bfc4f1d2f9f9775b34d944762d655307a91ca96d358faa04d" | ||
76 | |||
77 | PARALLEL_MAKE = "" | ||