Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_ENV+= vim_cv_toupper_broken=no \
  20. vim_cv_getcwd_broken=no \
  21. vim_cv_stat_ignores_slash=yes \
  22. ac_cv_sizeof_int=4 \
  23. vim_cv_terminfo=yes \
  24. vim_cv_tty_group=tty \
  25. vim_cv_memmove_handles_overlap=yes \
  26. vim_cv_tty_mode=666
  27. CONFIGURE_ARGS+= --disable-darwin \
  28. --disable-xsmp \
  29. --disable-mzschemeinterp \
  30. --disable-perlinterp \
  31. --disable-pythoninterp \
  32. --disable-tclinterp \
  33. --disable-rubyinterp \
  34. --disable-cscope \
  35. --disable-workshop \
  36. --disable-netbeans \
  37. --disable-sniff \
  38. --disable-hangulinput \
  39. --disable-xim \
  40. --disable-fontset \
  41. --disable-gui \
  42. --disable-acl \
  43. --disable-gpm \
  44. --disable-nls \
  45. --with-features=tiny \
  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. post-install:
  54. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  55. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  56. include ${TOPDIR}/mk/pkg-bottom.mk