Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME= vim
  7. PKG_VERSION= 7.2
  8. PKG_RELEASE= 1
  9. PKG_MD5SUM= f0901284b338e448bfd79ccca0041254
  10. PKG_DESCR:= The text editor
  11. PKG_SECTION:= text
  12. PKG_DEPENDS:= libncurses
  13. PKG_URL:= http://www.vim.org
  14. PKG_SITES= ftp://ftp.vim.org/pub/vim/unix/
  15. DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. WRKDIST= ${WRKDIR}/vim72
  17. WRKSRC= ${WRKDIST}/src
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,VIM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. CONFIGURE_STYLE:= gnu
  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. --disable-nls \
  47. --with-features=tiny \
  48. --with-compiledby=OpenADK \
  49. --without-x \
  50. --with-tlib=ncurses \
  51. --disable-multibyte
  52. BUILD_STYLE= auto
  53. INSTALL_STYLE= auto
  54. XAKE_FLAGS+= prefix=/usr \
  55. DESTDIR=${WRKINST} \
  56. STRIP=:
  57. post-install:
  58. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  59. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  60. include ${TOPDIR}/mk/pkg-bottom.mk