[packages] vim: add xxd tool
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32031 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e90d68a9a1
commit
d01aae3627
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
# Copyright (C) 2006-2012 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -50,6 +50,13 @@ define Package/vim-help
|
||||
TITLE+= (help files)
|
||||
endef
|
||||
|
||||
define Package/xxd
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=make a hexdump or do the reverse
|
||||
URL:=http://www.vim.org/
|
||||
endef
|
||||
|
||||
define Package/vim-full/conffiles
|
||||
/usr/share/vim/vimrc
|
||||
endef
|
||||
@ -78,6 +85,10 @@ define Package/vim-help/description
|
||||
(Help files)
|
||||
endef
|
||||
|
||||
define Package/xxd/description
|
||||
xxd creates a hex dump of a given file or standard input, it can also convert
|
||||
a hex dump back to its original binary form.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-gui \
|
||||
@ -107,8 +118,7 @@ define Build/Compile/vim
|
||||
)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) clean
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" all
|
||||
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_tiny
|
||||
endef
|
||||
endif
|
||||
@ -121,8 +131,7 @@ define Build/Compile/vim-full
|
||||
)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) clean
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" all
|
||||
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_normal
|
||||
endef
|
||||
endif
|
||||
@ -134,9 +143,6 @@ define Build/Compile/vim-runtime
|
||||
rm -rf $(PKG_INSTALL_DIR)/usr/man
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/vim)
|
||||
$(call Build/Compile/vim-full)
|
||||
@ -167,8 +173,13 @@ define Package/vim-help/install
|
||||
tar -C $(1) -xf $(PKG_BUILD_DIR)/docs.tar
|
||||
endef
|
||||
|
||||
define Package/xxd/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/xxd/xxd $(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,vim))
|
||||
$(eval $(call BuildPackage,vim-full))
|
||||
$(eval $(call BuildPackage,vim-runtime))
|
||||
$(eval $(call BuildPackage,vim-help))
|
||||
|
||||
$(eval $(call BuildPackage,xxd))
|
||||
|
@ -1,13 +1,12 @@
|
||||
set showcmd " Show (partial) command in status line.
|
||||
set showmatch " Show matching brackets.
|
||||
set ignorecase " Do case insensitive matching
|
||||
set incsearch " Incremental search
|
||||
set autowrite " Automatically save before commands like :next and :make
|
||||
set nocompatible " Use Vim defaults instead of 100% vi compatibility
|
||||
set showcmd " show (partial) command in status line
|
||||
set showmatch " show matching brackets
|
||||
set ignorecase " do case insensitive matching
|
||||
set incsearch " incremental search
|
||||
set autowrite " automatically save before commands like :next and :make
|
||||
set nocompatible " use vim defaults instead of 100% vi compatibility
|
||||
set backspace=indent,eol,start " more powerful backspacing
|
||||
set autoindent " always set autoindenting on
|
||||
set linebreak " Don't wrap words by default
|
||||
set textwidth=0 " Don't wrap lines by default
|
||||
set linebreak " don't wrap words by default
|
||||
set textwidth=0 " don't wrap lines by default
|
||||
set ruler " show the cursor position all the time
|
||||
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
set showcmd " Show (partial) command in status line.
|
||||
set showmatch " Show matching brackets.
|
||||
set ignorecase " Do case insensitive matching
|
||||
set incsearch " Incremental search
|
||||
set autowrite " Automatically save before commands like :next and :make
|
||||
set nocompatible " Use Vim defaults instead of 100% vi compatibility
|
||||
set showcmd " show (partial) command in status line
|
||||
set showmatch " show matching brackets
|
||||
set ignorecase " do case insensitive matching
|
||||
set incsearch " incremental search
|
||||
set autowrite " automatically save before commands like :next and :make
|
||||
set nocompatible " use Vim defaults instead of 100% vi compatibility
|
||||
set backspace=indent,eol,start " more powerful backspacing
|
||||
set autoindent " always set autoindenting on
|
||||
set linebreak " Don't wrap words by default
|
||||
set textwidth=0 " Don't wrap lines by default
|
||||
set linebreak " don't wrap words by default
|
||||
set textwidth=0 " don't wrap lines by default
|
||||
set ruler " show the cursor position all the time
|
||||
if filereadable(expand("$VIMRUNTIME/syntax/synload.vim"))
|
||||
syntax on
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- vim73.org/src/auto/configure 2010-11-29 10:47:27.396117333 +0000
|
||||
+++ vim73/src/auto/configure 2010-11-29 10:48:52.301117332 +0000
|
||||
@@ -11641,34 +11641,8 @@
|
||||
--- a/src/auto/configure
|
||||
+++ b/src/auto/configure
|
||||
@@ -11641,34 +11641,8 @@ _ACEOF
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
|
||||
$as_echo_n "checking uint32_t is 32 bits... " >&6; }
|
||||
@ -33,3 +33,6 @@
|
||||
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
-fi
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user