Makefile 1.7 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 ${TOPDIR}/rules.mk
  4. PKG_NAME= vim
  5. PKG_VERSION= 7.2
  6. PKG_RELEASE= 1
  7. PKG_BUILDDEP+= ncurses
  8. PKG_MD5SUM= f0901284b338e448bfd79ccca0041254
  9. PKG_DESCR:= The text editor
  10. PKG_SECTION:= text
  11. PKG_DEPENDS:= libncurses
  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}/vim72
  16. WRKSRC= ${WRKDIST}/src
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,VIM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE:= gnu
  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. --disable-nls \
  46. --with-features=tiny \
  47. --with-compiledby=OpenADK \
  48. --without-x \
  49. --with-tlib=ncurses \
  50. --disable-multibyte
  51. BUILD_STYLE= auto
  52. INSTALL_STYLE= auto
  53. XAKE_FLAGS+= prefix=/usr \
  54. DESTDIR=${WRKINST} \
  55. STRIP=:
  56. post-install:
  57. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  58. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  59. include ${TOPDIR}/mk/pkg-bottom.mk