1
0

Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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_MD5SUM= f0901284b338e448bfd79ccca0041254
  8. PKG_DESCR:= The text editor
  9. PKG_SECTION:= text
  10. PKG_DEPENDS:= libncurses
  11. PKG_URL:= http://www.vim.org
  12. PKG_SITES= ftp://ftp.vim.org/pub/vim/unix/
  13. DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. WRKDIST= ${WRKDIR}/vim72
  15. WRKSRC= ${WRKDIST}/src
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,VIM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE= auto
  51. INSTALL_STYLE= auto
  52. XAKE_FLAGS+= prefix=/usr \
  53. DESTDIR=${WRKINST} \
  54. STRIP=:
  55. post-install:
  56. ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
  57. ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
  58. include ${TOPDIR}/mk/pkg-bottom.mk