@ -41,6 +41,12 @@ define Package/vim-full
TITLE += ( Normal)
e n d e f
d e f i n e P a c k a g e / v i m - f u l l e r
$( call Package/vim/Default)
TITLE += ( Big)
e n d e f
d e f i n e P a c k a g e / v i m - r u n t i m e
$( call Package/vim/Default)
TITLE += ( runtime files)
@ -78,6 +84,12 @@ define Package/vim-full/description
( Normal build)
e n d e f
d e f i n e P a c k a g e / v i m - f u l l e r / d e s c r i p t i o n
Vim is an almost compatible version of the UNIX editor Vi.
( Big build)
e n d e f
d e f i n e P a c k a g e / v i m - r u n t i m e / d e s c r i p t i o n
Vim is an almost compatible version of the UNIX editor Vi.
( Runtime files)
@ -138,6 +150,20 @@ define Build/Compile/vim-full
e n d e f
e n d i f
i f n e q ( $( CONFIG_PACKAGE_vim -fuller ) , )
d e f i n e B u i l d / C o m p i l e / v i m - f u l l e r
$( call Build/Configure/Default, \
--with-features= big \
--enable-multibyte \
)
+$( MAKE) $( PKG_JOBS) -C $( PKG_BUILD_DIR) \
DESTDIR = " $( PKG_INSTALL_DIR) " all
$( CP) $( PKG_BUILD_DIR) /src/$( PKG_NAME) $( PKG_BUILD_DIR) /vim_big
e n d e f
e n d i f
i f n e q ( $( CONFIG_PACKAGE_xxd ) , )
d e f i n e B u i l d / C o m p i l e / x x d
+$( MAKE) $( PKG_JOBS) -C $( PKG_BUILD_DIR) \
@ -155,6 +181,7 @@ endef
d e f i n e B u i l d / C o m p i l e
$( call Build /Compile /vim )
$( call Build /Compile /vim -full )
$( call Build /Compile /vim -fuller )
$( call Build /Compile /vim -runtime )
$( call Build /Compile /xxd )
e n d e f
@ -173,6 +200,17 @@ define Package/vim-full/install
$( INSTALL_CONF) ./files/vimrc.full $( 1) /usr/share/vim/vimrc
e n d e f
d e f i n e P a c k a g e / v i m - f u l l e r / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /vim_big $( 1) /usr/bin/vim
$( INSTALL_DIR) $( 1) /usr/share/vim
$( CP) -r $( PKG_INSTALL_DIR) /usr/share/vim/vim$( VIMVER) $( 1) /usr/share/vim
$( INSTALL_CONF) ./files/vimrc.full $( 1) /usr/share/vim/vimrc
e n d e f
d e f i n e P a c k a g e / v i m - r u n t i m e / i n s t a l l
$( CP) $( PKG_INSTALL_DIR) /* $( 1)
rm -rf $( 1) /usr/share/vim/vim$( VIMVER) /doc
@ -189,6 +227,7 @@ endef
$( eval $ ( call BuildPackage ,vim ) )
$( eval $ ( call BuildPackage ,vim -full ) )
$( eval $ ( call BuildPackage ,vim -fuller ) )
$( eval $ ( call BuildPackage ,vim -runtime ) )
$( eval $ ( call BuildPackage ,vim -help ) )
$( eval $ ( call BuildPackage ,xxd ) )