summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/vim/vim_7.4.258.bb48
1 files changed, 24 insertions, 24 deletions
diff --git a/meta-oe/recipes-support/vim/vim_7.4.258.bb b/meta-oe/recipes-support/vim/vim_7.4.258.bb
index cfc82b165..7f88fa0a7 100644
--- a/meta-oe/recipes-support/vim/vim_7.4.258.bb
+++ b/meta-oe/recipes-support/vim/vim_7.4.258.bb
@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
12" 12"
13SRCREV = "v7-4-258" 13SRCREV = "v7-4-258"
14 14
15S = "${WORKDIR}/${PN}/src" 15S = "${WORKDIR}/${BPN}/src"
16 16
17VIMDIR = "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" 17VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
18 18
19inherit autotools update-alternatives 19inherit autotools update-alternatives
20inherit autotools-brokensep 20inherit autotools-brokensep
@@ -61,41 +61,41 @@ EXTRA_OECONF = " \
61 61
62do_install_append() { 62do_install_append() {
63 # Work around rpm picking up csh or awk as a dep 63 # Work around rpm picking up csh or awk as a dep
64 chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132 64 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132
65 chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk 65 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk
66 66
67 # Install example vimrc from runtime files 67 # Install example vimrc from runtime files
68 install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc 68 install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc
69} 69}
70 70
71PARALLEL_MAKEINST = "" 71PARALLEL_MAKEINST = ""
72 72
73PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc" 73PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc"
74FILES_${PN}-syntax = "${datadir}/${PN}/${VIMDIR}/syntax" 74FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax"
75FILES_${PN}-help = "${datadir}/${PN}/${VIMDIR}/doc" 75FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc"
76FILES_${PN}-tutor = "${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor" 76FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor"
77FILES_${PN}-vimrc = "${datadir}/${PN}/vimrc" 77FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc"
78FILES_${PN}-data = "${datadir}/${PN}" 78FILES_${PN}-data = "${datadir}/${BPN}"
79FILES_${PN}-common = " \ 79FILES_${PN}-common = " \
80 ${datadir}/${PN}/${VIMDIR}/*.vim \ 80 ${datadir}/${BPN}/${VIMDIR}/*.vim \
81 ${datadir}/${PN}/${VIMDIR}/autoload \ 81 ${datadir}/${BPN}/${VIMDIR}/autoload \
82 ${datadir}/${PN}/${VIMDIR}/colors \ 82 ${datadir}/${BPN}/${VIMDIR}/colors \
83 ${datadir}/${PN}/${VIMDIR}/compiler \ 83 ${datadir}/${BPN}/${VIMDIR}/compiler \
84 ${datadir}/${PN}/${VIMDIR}/ftplugin \ 84 ${datadir}/${BPN}/${VIMDIR}/ftplugin \
85 ${datadir}/${PN}/${VIMDIR}/indent \ 85 ${datadir}/${BPN}/${VIMDIR}/indent \
86 ${datadir}/${PN}/${VIMDIR}/keymap \ 86 ${datadir}/${BPN}/${VIMDIR}/keymap \
87 ${datadir}/${PN}/${VIMDIR}/lang \ 87 ${datadir}/${BPN}/${VIMDIR}/lang \
88 ${datadir}/${PN}/${VIMDIR}/macros \ 88 ${datadir}/${BPN}/${VIMDIR}/macros \
89 ${datadir}/${PN}/${VIMDIR}/plugin \ 89 ${datadir}/${BPN}/${VIMDIR}/plugin \
90 ${datadir}/${PN}/${VIMDIR}/print \ 90 ${datadir}/${BPN}/${VIMDIR}/print \
91 ${datadir}/${PN}/${VIMDIR}/spell \ 91 ${datadir}/${BPN}/${VIMDIR}/spell \
92 ${datadir}/${PN}/${VIMDIR}/tools \ 92 ${datadir}/${BPN}/${VIMDIR}/tools \
93" 93"
94 94
95# Recommend that runtime data is installed along with vim 95# Recommend that runtime data is installed along with vim
96RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" 96RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
97 97
98ALTERNATIVE_${PN} = "vi" 98ALTERNATIVE_${PN} = "vi"
99ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}" 99ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}"
100ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" 100ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
101ALTERNATIVE_PRIORITY[vi] = "100" 101ALTERNATIVE_PRIORITY[vi] = "100"