2006-08-10 22:10:54 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=vim
|
2007-07-04 21:47:55 +00:00
|
|
|
PKG_VERSION:=7.1
|
|
|
|
PKG_RELEASE:=2
|
2006-08-10 22:10:54 +00:00
|
|
|
|
2007-07-04 21:47:55 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2006-08-10 22:10:54 +00:00
|
|
|
PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
|
2007-07-04 21:47:55 +00:00
|
|
|
PKG_MD5SUM:=44c6b4914f38d6f9aa959640b89da329
|
2006-08-10 22:10:54 +00:00
|
|
|
|
2007-07-04 21:47:55 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)71
|
2006-08-10 22:10:54 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/vim
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libncurses
|
2007-07-04 21:47:55 +00:00
|
|
|
TITLE:=Vi IMproved - enhanced vi editor
|
2006-10-30 13:51:50 +00:00
|
|
|
URL:=http://www.vim.org/
|
2007-10-18 19:03:20 +00:00
|
|
|
SUBMENU:=editors
|
2006-08-10 22:10:54 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/vim/description
|
|
|
|
Vim is an almost compatible version of the UNIX editor Vi.
|
|
|
|
endef
|
|
|
|
|
2007-07-04 21:47:55 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--disable-gui \
|
|
|
|
--disable-gtktest \
|
|
|
|
--disable-xim \
|
|
|
|
--with-features=tiny \
|
|
|
|
--without-x \
|
|
|
|
--disable-multibyte \
|
|
|
|
--disable-netbeans \
|
|
|
|
--disable-cscope \
|
|
|
|
--disable-gpm \
|
|
|
|
--with-tlib=ncurses
|
2006-08-10 22:10:54 +00:00
|
|
|
|
|
|
|
define Package/vim/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-07-04 21:47:55 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/share/vim
|
2007-07-04 21:47:55 +00:00
|
|
|
$(INSTALL_CONF) ./files/vimrc $(1)/usr/share/vim/
|
2006-08-10 22:10:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,vim))
|