* [oe][meta-oe][PATCH] vim: Compile and provide xxd in package vim-xxd
@ 2015-09-28 11:43 Ioan-Adrian Ratiu
2015-09-29 13:23 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Ioan-Adrian Ratiu @ 2015-09-28 11:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
meta-oe/recipes-support/vim/vim_7.4.481.bb | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
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 2ece53b..fcd036b 100644
--- a/meta-oe/recipes-support/vim/vim_7.4.481.bb
+++ b/meta-oe/recipes-support/vim/vim_7.4.481.bb
@@ -59,6 +59,11 @@ EXTRA_OECONF = " \
STRIP=/bin/true \
"
+do_compile_append() {
+ cd "${S}/xxd"
+ make
+}
+
do_install() {
autotools_do_install
@@ -70,17 +75,20 @@ do_install() {
# Install example vimrc from runtime files
install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc
+ install -m 0755 xxd/xxd ${D}${bindir}/xxd
+
# we use --with-features=big as default
mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN}
}
PARALLEL_MAKEINST = ""
-PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc"
+PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-xxd"
FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax"
FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc"
FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor"
FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc"
+FILES_${PN}-xxd = "${bindir}/xxd"
FILES_${PN}-data = "${datadir}/${BPN}"
FILES_${PN}-common = " \
${datadir}/${BPN}/${VIMDIR}/*.vim \
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-29 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 11:43 [oe][meta-oe][PATCH] vim: Compile and provide xxd in package vim-xxd Ioan-Adrian Ratiu
2015-09-29 13:23 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.