2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_MD5SUM:=44c6b4914f38d6f9aa959640b89da329
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)71
21 include $(INCLUDE_DIR)/package.mk
28 URL:=http://www.vim.org/
34 --enable-min-features \
42 define Package/vim/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
45 $(INSTALL_DIR) $(1)/usr/share/vim
46 $(INSTALL_CONF) ./files/vimrc $(1)/usr/share/vim/
49 $(eval $(call BuildPackage,vim))