Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5b9510a17074e2b37d8bb38ae09edbf2
  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}/vim73
  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. --with-features=small \
  45. --with-compiledby=OpenADK \
  46. --without-x \
  47. --with-tlib=ncurses \
  48. --disable-multibyte
  49. XAKE_FLAGS+= prefix=/usr \
  50. DESTDIR=${WRKINST} \
  51. STRIP=:
  52. post-install:
  53. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  54. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  55. include ${TOPDIR}/mk/pkg-bottom.mk