diff options
-rw-r--r-- | meta-oe/recipes-support/vim/vim_7.4.258.bb | 48 |
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 | " |
13 | SRCREV = "v7-4-258" | 13 | SRCREV = "v7-4-258" |
14 | 14 | ||
15 | S = "${WORKDIR}/${PN}/src" | 15 | S = "${WORKDIR}/${BPN}/src" |
16 | 16 | ||
17 | VIMDIR = "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" | 17 | VIMDIR = "${BPN}${@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 |
@@ -61,41 +61,41 @@ EXTRA_OECONF = " \ | |||
61 | 61 | ||
62 | do_install_append() { | 62 | do_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 | ||
71 | PARALLEL_MAKEINST = "" | 71 | PARALLEL_MAKEINST = "" |
72 | 72 | ||
73 | PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc" | 73 | PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc" |
74 | FILES_${PN}-syntax = "${datadir}/${PN}/${VIMDIR}/syntax" | 74 | FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax" |
75 | FILES_${PN}-help = "${datadir}/${PN}/${VIMDIR}/doc" | 75 | FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc" |
76 | FILES_${PN}-tutor = "${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor" | 76 | FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor" |
77 | FILES_${PN}-vimrc = "${datadir}/${PN}/vimrc" | 77 | FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc" |
78 | FILES_${PN}-data = "${datadir}/${PN}" | 78 | FILES_${PN}-data = "${datadir}/${BPN}" |
79 | FILES_${PN}-common = " \ | 79 | FILES_${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 |
96 | RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | 96 | RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" |
97 | 97 | ||
98 | ALTERNATIVE_${PN} = "vi" | 98 | ALTERNATIVE_${PN} = "vi" |
99 | ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}" | 99 | ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" |
100 | ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" | 100 | ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" |
101 | ALTERNATIVE_PRIORITY[vi] = "100" | 101 | ALTERNATIVE_PRIORITY[vi] = "100" |