aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vim/vim_7.2.bb
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-10-19 13:46:08 -0400
committerPhilip Balister <philip@opensdr.com>2010-10-19 13:47:41 -0400
commit4dbe8edc6375b1856dd512349c58d936e4ab446b (patch)
treefba331b0d6610cd5eb1561f722ea9063222984aa /recipes/vim/vim_7.2.bb
parentd875046057cb33f0910bd7b6973985a2f9656467 (diff)
downloadopenembedded-4dbe8edc6375b1856dd512349c58d936e4ab446b.tar.gz
openembedded-4dbe8edc6375b1856dd512349c58d936e4ab446b.tar.bz2
openembedded-4dbe8edc6375b1856dd512349c58d936e4ab446b.zip
vim: Add new package vim-vimrc that installs a vimrc that makes me happy.
Diffstat (limited to 'recipes/vim/vim_7.2.bb')
-rw-r--r--recipes/vim/vim_7.2.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/vim/vim_7.2.bb b/recipes/vim/vim_7.2.bb
index 7d74d08256..b887ce4cd8 100644
--- a/recipes/vim/vim_7.2.bb
+++ b/recipes/vim/vim_7.2.bb
@@ -16,6 +16,7 @@ PR = "${INC_PR}.2"
# 001-411.diff contains 411 patches fetched from upstream
SRC_URI += "file://001-411.diff;apply=no"
SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no"
+SRC_URI += "file://vimrc"
# we need to apply patches in other dir then ${S}
do_applypatch() {
@@ -26,4 +27,12 @@ do_applypatch() {
addtask applypatch after do_unpack before do_patch
+do_install_append() {
+ install -m 0644 ${FILESDIR}/vimrc ${D}/${datadir}/vim
+}
+
RCONFLICTS_${PN} = "gvim vim-tiny"
+PACKAGES =+ "${PN}-vimrc"
+
+FILES_${PN}-vimrc = "${datadir}/vim/vimrc"
+