1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 08bd0d1dd30ece3cb9905ccd48b82b2f81c861696377508021265177dc153a61
10 PKG_DESCR
:= very popular text editor
11 PKG_SECTION
:= app
/editor
12 PKG_DEPENDS
:= libncurses
13 PKG_BUILDDEP
:= ncurses
14 PKG_URL
:= http
://www.vim.org
/
15 PKG_SITES
:= ftp
://ftp.vim.org
/pub
/vim
/unix
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
18 WRKDIST
= ${WRKDIR}/vim80
19 WRKSRC
= ${WRKDIST}/src
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,VIM
,vim
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_LDFLAGS
+= -ltinfo
26 CONFIGURE_ENV
+= vim_cv_toupper_broken
=no \
27 vim_cv_getcwd_broken
=no \
28 vim_cv_stat_ignores_slash
=yes \
31 vim_cv_tty_group
=tty \
32 vim_cv_memmove_handles_overlap
=yes \
34 CONFIGURE_ARGS
+= --disable-darwin \
36 --disable-mzschemeinterp \
37 --disable-perlinterp \
38 --disable-pythoninterp \
40 --disable-rubyinterp \
45 --disable-hangulinput \
51 --with-features
=small \
52 --with-compiledby
=OpenADK \
56 XAKE_FLAGS
+= prefix=/usr \
61 ${INSTALL_DIR} ${IDIR_VIM}/usr
/bin
62 ${INSTALL_DIR} ${IDIR_VIM}/usr
/share
/vim
63 ${CP} ${WRKINST}/usr
/bin
/{ex
,vim
,view
} ${IDIR_VIM}/usr
/bin
64 ${CP} ${WRKINST}/usr
/share
/vim
/vim80
/defaults.vim \
65 ${IDIR_VIM}/usr
/share
/vim
/
66 ${CP} ${WRKINST}/usr
/share
/vim
/vim80
/vimrc_example.vim \
67 ${IDIR_VIM}/usr
/share
/vim
/vimrc
69 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk