summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars6
-rw-r--r--vars/dist_minipix_dist.vars6
-rw-r--r--vars/vim.vars7
l---------vars/vim_minipix.vars1
4 files changed, 18 insertions, 2 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 3cb57a38..93c320c6 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1198,7 +1198,8 @@ MINIPIX_MAKEFLAGS_INSTALL="PREFIX= prefix=";
MINIPIX_PACKAGES="
bzip2_minipix gzip_minipix xz_minipix bash_minipix coreutils_minipix
dash_minipix nano_minipix tar_minipix mintty_minipix ntctty_minipix
-ptycon_minipix";
+ptycon_minipix
+vim_minipix";
MINIPIX_PARALLELISE=1;
MINIPIX_PREFIX="${PREFIX}/minipix_dist";
: ${PKG_BZIP2_MINIPIX_INHERIT_FROM:=bzip2};
@@ -1250,6 +1251,9 @@ MINIPIX_PREFIX="${PREFIX}/minipix_dist";
: ${PKG_PTYCON_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
: ${PKG_PTYCON_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
: ${PKG_PTYCON_MINIPIX_LDFLAGS_CONFIGURE_EXTRA:="-mvrfs"};
+: ${PKG_VIM_MINIPIX_INHERIT_FROM:=vim};
+: ${PKG_VIM_MINIPIX_BASE_DIR:=${BUILD_WORKDIR}/vim-build-minipix};
+: ${PKG_VIM_MINIPIX_LDFLAGS_CONFIGURE_EXTRA:="-mvrfs"};
#
# Build target dist
diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars
index c94d50d6..20b3643b 100644
--- a/vars/dist_minipix_dist.vars
+++ b/vars/dist_minipix_dist.vars
@@ -15,6 +15,12 @@ pkg_dist_minipix_dist_all() {
ex_rtl_fileop cp_follow \
"${PREFIX_NATIVE}/lib/${_lib_name}" "${_dist_pfx}/bin";
done;
+ for _shared_pname in nano/nanorc.nanorc vim/vim74/vimrc_example.vim; do
+ ex_rtl_fileop cp_follow \
+ "${PREFIX_NATIVE}/share/${_shared_pname}" "${_dist_pfx}/share";
+ done;
+ ex_rtl_fileop ln_symbolic "nanorc.nanorc" "${_dist_pfx}/share/nanorc";
+ ex_rtl_fileop ln_symbolic "vimrc_example.vim" "${_dist_pfx}/share/vimrc";
for _term in putty putty-256color screen screen-256color xterm xterm-256color; do
_term_letter="${_term%${_term#[a-zA-Z]}}";
ex_rtl_fileop mkdir "${_dist_pfx}/share/terminfo/${_term_letter}";
diff --git a/vars/vim.vars b/vars/vim.vars
index eb5d3fde..8b5fd094 100644
--- a/vars/vim.vars
+++ b/vars/vim.vars
@@ -2,7 +2,7 @@
# set -o errexit -o noglob are assumed.
#
-: ${PKG_VIM_CONFIG_CACHE_EXTRA:="
+: ${PKG_VIM_MINIPIX_CONFIG_CACHE_EXTRA:="
ac_cv_small_wchar_t=no
ac_x_header_dirs=%PREFIX%/include
vim_cv_bcopy_handles_overlap=yes
@@ -14,9 +14,14 @@ vim_cv_terminfo=yes
vim_cv_toupper_broken=no
vim_cv_tty_group=tty
vim_cv_tty_mode=0666"};
+: ${PKG_VIM_MINIPIX_CONFIG_CACHE_EXTRA=${PKG_VIM_MINIPIX_CONFIG_CACHE_EXTRA}};
pkg_vim_configure_autotools_post() {
ex_rtl_fileop cp config.cache src/auto;
};
+pkg_vim_minipix_configure_autotools_post() {
+ ex_rtl_fileop cp config.cache src/auto;
+};
+
# vim:filetype=sh
diff --git a/vars/vim_minipix.vars b/vars/vim_minipix.vars
new file mode 120000
index 00000000..a51668a5
--- /dev/null
+++ b/vars/vim_minipix.vars
@@ -0,0 +1 @@
+vim.vars \ No newline at end of file