bump waldux kernel version
[openadk.git] / package / vim / Makefile
blob378e9541894faa74489130cbeb7d396e23473a3c
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
6 PKG_NAME:= vim
7 PKG_VERSION:= 8.0
8 PKG_RELEASE:= 1
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 \
29 ac_cv_sizeof_int=4 \
30 vim_cv_terminfo=yes \
31 vim_cv_tty_group=tty \
32 vim_cv_memmove_handles_overlap=yes \
33 vim_cv_tty_mode=666
34 CONFIGURE_ARGS+= --disable-darwin \
35 --disable-xsmp \
36 --disable-mzschemeinterp \
37 --disable-perlinterp \
38 --disable-pythoninterp \
39 --disable-tclinterp \
40 --disable-rubyinterp \
41 --disable-cscope \
42 --disable-workshop \
43 --disable-netbeans \
44 --disable-sniff \
45 --disable-hangulinput \
46 --disable-xim \
47 --disable-fontset \
48 --disable-gui \
49 --disable-acl \
50 --disable-gpm \
51 --with-features=small \
52 --with-compiledby=OpenADK \
53 --without-x \
54 --with-tlib=ncurses \
55 --disable-multibyte
56 XAKE_FLAGS+= prefix=/usr \
57 DESTDIR=${WRKINST} \
58 STRIP=:
60 vim-install:
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