您的位置:首页 > 运维架构

openwrt之vim

2015-07-11 16:56 363 查看
#
# 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))
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: