summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/vim/vim.inc
diff options
context:
space:
mode:
authorMichael Lippautz <michael.lippautz@gmail.com>2011-04-18 20:13:59 +0200
committerMichael Lippautz <michael.lippautz@gmail.com>2011-04-18 20:59:07 +0200
commit55fccdc2be50ccbce3137abd658f5d1f95af6d60 (patch)
treef42ed08f5991cfafd191964bbb70fef23789fb46 /meta-oe/recipes-support/vim/vim.inc
parent02e3e6814c3c74050c9cdca48523a2496772bc4a (diff)
downloadmeta-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.inc77
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 @@
1DESCRIPTION = "Vi IMproved - enhanced vi editor"
2SECTION = "console/utils"
3DEPENDS = "ncurses"
4# vimdiff doesn't like busybox diff
5RSUGGESTS_${PN} = "diffutils"
6LICENSE = "vim"
7LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36"
8
9PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
10VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}"
11
12INC_PR = "r10"
13
14SRC_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
20S = "${WORKDIR}/vim${VIMDIR}/src"
21
22inherit autotools update-alternatives
23
24# vim configure.in contains functions which got 'dropped' by autotools.bbclass
25do_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
37VIMFEATURES ?= "big"
38VIMX ?= "--without-x"
39VIMGUI ?= "no"
40
41EXTRA_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
60PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor"
61FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax"
62FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc"
63FILES_vim-tutor = "${datadir}/vim/vim${VIMVER}/tutor ${bindir}/vimtutor"
64
65ALTERNATIVE_NAME = "vi"
66ALTERNATIVE_PATH = "${bindir}/vim"
67ALTERNATIVE_LINK = "${base_bindir}/vi"
68ALTERNATIVE_PRIORITY = "100"
69
70SRC_URI[vim7.2tarbz2.md5sum] = "f0901284b338e448bfd79ccca0041254"
71SRC_URI[vim7.2tarbz2.sha256sum] = "914db0f2205ebd6f02878295ec2506036ea7500399db112c61a01491cd9a1d86"
72SRC_URI[vim7.2langtargz.md5sum] = "d8884786979e0e520c112faf2e176f05"
73SRC_URI[vim7.2langtargz.sha256sum] = "11607f539a4518b550bf1606b7d3a6f36c1ffdf566c058e7d94bced78034cd5b"
74SRC_URI[vim7.2extratargz.md5sum] = "35e04482f07c57221c9a751aaa3b8dac"
75SRC_URI[vim7.2extratargz.sha256sum] = "20894ac79672160bfc4f1d2f9f9775b34d944762d655307a91ca96d358faa04d"
76
77PARALLEL_MAKE = ""