Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= vim
  5. PKG_VERSION:= 7.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 607e135c559be642f210094ad023dc65
  8. PKG_DESCR:= The text editor
  9. PKG_SECTION:= 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 ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,VIM,vim,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_CFLAGS+= -lgcc
  20. TARGET_LDFLAGS+= -ltinfo
  21. CONFIGURE_ENV+= vim_cv_toupper_broken=no \
  22. vim_cv_getcwd_broken=no \
  23. vim_cv_stat_ignores_slash=yes \
  24. ac_cv_sizeof_int=4 \
  25. vim_cv_terminfo=yes \
  26. vim_cv_tty_group=tty \
  27. vim_cv_memmove_handles_overlap=yes \
  28. vim_cv_tty_mode=666
  29. CONFIGURE_ARGS+= --disable-darwin \
  30. --disable-xsmp \
  31. --disable-mzschemeinterp \
  32. --disable-perlinterp \
  33. --disable-pythoninterp \
  34. --disable-tclinterp \
  35. --disable-rubyinterp \
  36. --disable-cscope \
  37. --disable-workshop \
  38. --disable-netbeans \
  39. --disable-sniff \
  40. --disable-hangulinput \
  41. --disable-xim \
  42. --disable-fontset \
  43. --disable-gui \
  44. --disable-acl \
  45. --disable-gpm \
  46. --with-features=small \
  47. --with-compiledby=OpenADK \
  48. --without-x \
  49. --with-tlib=ncurses \
  50. --disable-multibyte
  51. XAKE_FLAGS+= prefix=/usr \
  52. DESTDIR=${WRKINST} \
  53. STRIP=:
  54. vim-install:
  55. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  56. ${INSTALL_DIR} ${IDIR_VIM}/usr/share/vim
  57. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  58. ${CP} ${WRKINST}/usr/share/vim/vim74/vimrc_example.vim \
  59. ${IDIR_VIM}/usr/share/vim/vimrc
  60. include ${TOPDIR}/mk/pkg-bottom.mk