diff options
Diffstat (limited to 'meta-oe/recipes-support/vim/vim_7.4.481.bb')
-rw-r--r-- | meta-oe/recipes-support/vim/vim_7.4.481.bb | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/vim/vim_7.4.481.bb b/meta-oe/recipes-support/vim/vim_7.4.481.bb index b85ff63d5..749022918 100644 --- a/meta-oe/recipes-support/vim/vim_7.4.481.bb +++ b/meta-oe/recipes-support/vim/vim_7.4.481.bb | |||
@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ | |||
12 | " | 12 | " |
13 | SRCREV = "v7-4-481" | 13 | SRCREV = "v7-4-481" |
14 | 14 | ||
15 | S = "${WORKDIR}/${BPN}/src" | 15 | S = "${WORKDIR}/vim/src" |
16 | 16 | ||
17 | VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" | 17 | VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" |
18 | 18 | ||
19 | inherit autotools update-alternatives | 19 | inherit autotools update-alternatives |
20 | inherit autotools-brokensep | 20 | inherit autotools-brokensep |
@@ -59,7 +59,9 @@ EXTRA_OECONF = " \ | |||
59 | STRIP=/bin/true \ | 59 | STRIP=/bin/true \ |
60 | " | 60 | " |
61 | 61 | ||
62 | do_install_append() { | 62 | do_install() { |
63 | autotools_do_install | ||
64 | |||
63 | # Work around rpm picking up csh or awk or perl as a dep | 65 | # Work around rpm picking up csh or awk or perl as a dep |
64 | chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 | 66 | chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 |
65 | chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk | 67 | chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk |
@@ -67,6 +69,9 @@ do_install_append() { | |||
67 | 69 | ||
68 | # Install example vimrc from runtime files | 70 | # Install example vimrc from runtime files |
69 | install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc | 71 | install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc |
72 | |||
73 | # we use --with-features=big as default | ||
74 | mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} | ||
70 | } | 75 | } |
71 | 76 | ||
72 | PARALLEL_MAKEINST = "" | 77 | PARALLEL_MAKEINST = "" |
@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" | |||
97 | # Recommend that runtime data is installed along with vim | 102 | # Recommend that runtime data is installed along with vim |
98 | RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | 103 | RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" |
99 | 104 | ||
100 | ALTERNATIVE_${PN} = "vi" | 105 | ALTERNATIVE_${PN} = "vi vim" |
101 | ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" | 106 | ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" |
102 | ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" | 107 | ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" |
103 | ALTERNATIVE_PRIORITY[vi] = "100" | 108 | ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" |
109 | ALTERNATIVE_PRIORITY = "100" | ||