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
)-src.
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
29 DESCRIPTION
:=An improved version of VI.
30 URL
:=http
://www.vim.org
33 define Build
/Configure
34 $(call Build
/Configure
/Default
,--enable-min-features \
40 --with-tlib
=ncurses
,ac_cv_c_bigendian
=no \
41 ac_cv_sizeof_off_t
=8 \
46 $(call Build
/Compile
/Default
,CC
="$(TARGET_CC)")
49 define Package
/vim
/install
51 mkdir
-p
$(1)//usr
/share
/vim
52 $(CP
) .
/files
/vimrc
$(1)//usr
/share
/vim
53 $(CP
) $(PKG_BUILD_DIR
)/src
/$(PKG_NAME
) $(1)/usr
/bin
/
56 $(eval
$(call BuildPackage
,vim
))