Makefile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= vim
  5. PKG_VERSION:= 7.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d0f5a6d2c439f02d97fa21bd9121f4c5abb1f6cd8b5a79d3ca82867495734ade
  8. PKG_DESCR:= very popular text editor
  9. PKG_SECTION:= app/editor
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://www.vim.org/
  13. PKG_SITES:= ftp://ftp.vim.org/pub/vim/unix/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. WRKDIST= ${WRKDIR}/vim74
  16. WRKSRC= ${WRKDIST}/src
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,VIM,vim,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_LDFLAGS+= -ltinfo
  20. CONFIGURE_ENV+= vim_cv_toupper_broken=no \
  21. vim_cv_getcwd_broken=no \
  22. vim_cv_stat_ignores_slash=yes \
  23. ac_cv_sizeof_int=4 \
  24. vim_cv_terminfo=yes \
  25. vim_cv_tty_group=tty \
  26. vim_cv_memmove_handles_overlap=yes \
  27. vim_cv_tty_mode=666
  28. CONFIGURE_ARGS+= --disable-darwin \
  29. --disable-xsmp \
  30. --disable-mzschemeinterp \
  31. --disable-perlinterp \
  32. --disable-pythoninterp \
  33. --disable-tclinterp \
  34. --disable-rubyinterp \
  35. --disable-cscope \
  36. --disable-workshop \
  37. --disable-netbeans \
  38. --disable-sniff \
  39. --disable-hangulinput \
  40. --disable-xim \
  41. --disable-fontset \
  42. --disable-gui \
  43. --disable-acl \
  44. --disable-gpm \
  45. --with-features=small \
  46. --with-compiledby=OpenADK \
  47. --without-x \
  48. --with-tlib=ncurses \
  49. --disable-multibyte
  50. XAKE_FLAGS+= prefix=/usr \
  51. DESTDIR=${WRKINST} \
  52. STRIP=:
  53. vim-install:
  54. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  55. ${INSTALL_DIR} ${IDIR_VIM}/usr/share/vim
  56. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  57. ${CP} ${WRKINST}/usr/share/vim/vim74/vimrc_example.vim \
  58. ${IDIR_VIM}/usr/share/vim/vimrc
  59. include ${ADK_TOPDIR}/mk/pkg-bottom.mk