#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=vim
PKG_VERSION:=7.4.052
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=
PKG_MD5SUM:=
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
CONFIGURE_ARGS =\
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--prefix=/usr \
--without-x \
--with-tlib=ncurses \
--disable-gui \
--disable-selinux \
--disable-acl \
--disable-gpm \
--disable-rubyinterp \
--disable-netbeans \
--disable-selinux \
--disable-darwin \
--disable-pythoninterp \
--disable-perlinterp \
--disable-tclinterp \
--disable-gtktest \
--disable-nls \
--disable-sysmouse \
vim_cv_toupper_broken=yes \
vim_cv_terminfo=yes \
vim_cv_tty_group=yes \
vim_cv_tty_mode=yes \
vim_cv_getcwd_broken=no \
vim_cv_stat_ignores_slash=no \
vim_cv_memmove_handles_overlap=yes
define Package/vim
TITLE:=vim
CATEGORY:=desay
DEPENDS:=+libncurses
endef
define Package/vim/description
a great editor
endef
define Package/vim/install
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/share/
$(CP) -rf $(PKG_INSTALL_DIR)/usr/share/* $(1)/usr/share/
endef
$(eval $(call BuildPackage,vim))
openwrt之vim
最新推荐文章于 2023-08-24 20:02:33 发布