endef
endif
+ifneq ($(CONFIG_PACKAGE_xxd),)
+define Build/Compile/xxd
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" all
+endef
+endif
+
define Build/Compile/vim-runtime
$(MAKE) -C $(PKG_BUILD_DIR)/src DESTDIR="$(PKG_INSTALL_DIR)" installrtbase
(cd $(PKG_INSTALL_DIR) && tar -cf $(PKG_BUILD_DIR)/docs.tar ./usr/share/vim/vim$(VIMVER)/doc)
$(call Build/Compile/vim)
$(call Build/Compile/vim-full)
$(call Build/Compile/vim-runtime)
+$(call Build/Compile/xxd)
endef
define Package/vim/install
$(INSTALL_CONF) ./files/vimrc $(1)/usr/share/vim/
endef
-
define Package/vim-full/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/vim_normal $(1)/usr/bin/vim