#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=vim
PKG_VERSION:=7.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
endef
define Package/vim
- $(call Packages/vim/Default)
+ $(call Package/vim/Default)
TITLE+= (Tiny)
endef
define Package/vim-full
- $(call Packages/vim/Default)
+ $(call Package/vim/Default)
TITLE+= (Normal)
endef
define Package/vim-runtime
- $(call Packages/vim/Default)
+ $(call Package/vim/Default)
TITLE+= (runtime files)
endef
define Package/vim-help
- $(call Packages/vim/Default)
+ $(call Package/vim/Default)
TITLE+= (help files)
endef
tar -C $(1) -xzf $(PKG_BUILD_DIR)/docs.tgz
endef
-define Package/vim-full/postinst
-#!/bin/sh
- if [ $${IPKG_INSTROOT} != / ]
- then
- if [ -d /usr/share/ ]
- ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
- fi
- fi
-endef
-
-define Package/vim/postinst
-#!/bin/sh
- if [ $${IPKG_INSTROOT} != / ]
- then
- if [ -d /usr/share/ ]
- ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
- fi
- fi
-endef
-
$(eval $(call BuildPackage,vim))
$(eval $(call BuildPackage,vim-full))
$(eval $(call BuildPackage,vim-runtime))