massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -14,7 +14,7 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
|
||||
PKG_MD5SUM:=
|
||||
PKG_MD5SUM:=89ab05bb5cd39eeb9e259503436c11ed
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -26,27 +26,26 @@ define Package/vim
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libncurses
|
||||
TITLE:=VI Improved
|
||||
DESCRIPTION:=An improved version of VI.
|
||||
URL:=http://www.vim.org
|
||||
URL:=http://www.vim.org/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-min-features \
|
||||
--disable-gui \
|
||||
--without-x \
|
||||
--disable-multibyte \
|
||||
--disable-cscope \
|
||||
--disable-gpm \
|
||||
--with-tlib=ncurses \
|
||||
--enable-min-features \
|
||||
--disable-gui \
|
||||
--without-x \
|
||||
--disable-multibyte \
|
||||
--disable-cscope \
|
||||
--disable-gpm \
|
||||
--with-tlib=ncurses \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/vim/install
|
||||
mkdir -p $(1)/usr/bin
|
||||
mkdir -p $(1)/usr/share/vim
|
||||
$(CP) ./files/vimrc $(1)/usr/share/vim
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
|
||||
install -d -m0755 $(1)/usr/share/vim
|
||||
$(CP) ./files/vimrc $(1)/usr/share/vim/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,vim))
|
||||
|
Reference in New Issue
Block a user