2008-03-06 19:08:14 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2010-12-17 15:50:15 +01:00
|
|
|
# vim
|
2008-03-06 19:08:14 +01:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-03-29 04:24:59 +02:00
|
|
|
# hg 21219ffc9790 = 7.3 release + patchlevel 487
|
|
|
|
VIM_SITE = https://vim.googlecode.com/hg
|
|
|
|
VIM_SITE_METHOD = hg
|
|
|
|
VIM_VERSION = 21219ffc9790
|
2010-12-17 15:50:15 +01:00
|
|
|
VIM_DEPENDENCIES = ncurses
|
|
|
|
VIM_SUBDIR = src
|
|
|
|
VIM_CONF_ENV = vim_cv_toupper_broken=no \
|
|
|
|
vim_cv_terminfo=yes \
|
|
|
|
vim_cv_tty_group=world \
|
|
|
|
vim_cv_tty_mode=0620 \
|
|
|
|
vim_cv_getcwd_broken=no \
|
|
|
|
vim_cv_stat_ignores_slash=yes \
|
|
|
|
vim_cv_memmove_handles_overlap=yes \
|
2011-01-01 21:53:34 +01:00
|
|
|
ac_cv_sizeof_int=4 \
|
|
|
|
ac_cv_small_wchar_t=no
|
2012-03-29 04:24:59 +02:00
|
|
|
# GUI/X11 headers leak from the host so forcibly disable them
|
|
|
|
VIM_CONF_OPT = --with-tlib=ncurses --enable-gui=no --without-x
|
2010-12-17 15:50:15 +01:00
|
|
|
|
|
|
|
define VIM_INSTALL_TARGET_CMDS
|
|
|
|
cd $(@D)/src; \
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) installlinks
|
|
|
|
endef
|
2008-03-06 19:08:14 +01:00
|
|
|
|
2010-12-17 15:50:15 +01:00
|
|
|
define VIM_INSTALL_RUNTIME_CMDS
|
|
|
|
cd $(@D)/src; \
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) installrtbase; \
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) installmacros
|
|
|
|
endef
|
2008-03-06 19:08:14 +01:00
|
|
|
|
2008-10-06 21:18:11 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
|
2010-12-17 15:50:15 +01:00
|
|
|
VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS
|
2008-03-06 19:08:14 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|