123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= vim
- PKG_VERSION:= 7.3
- PKG_RELEASE:= 2
- PKG_MD5SUM:= 5b9510a17074e2b37d8bb38ae09edbf2
- PKG_DESCR:= The text editor
- PKG_SECTION:= editor
- PKG_DEPENDS:= libncurses
- PKG_BUILDDEP:= ncurses
- PKG_URL:= http://www.vim.org/
- PKG_SITES:= ftp://ftp.vim.org/pub/vim/unix/
- DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
- WRKDIST= ${WRKDIR}/vim73
- WRKSRC= ${WRKDIST}/src
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,VIM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= vim_cv_toupper_broken=no \
- vim_cv_getcwd_broken=no \
- vim_cv_stat_ignores_slash=yes \
- ac_cv_sizeof_int=4 \
- vim_cv_terminfo=yes \
- vim_cv_tty_group=tty \
- vim_cv_memmove_handles_overlap=yes \
- vim_cv_tty_mode=666
- CONFIGURE_ARGS+= --disable-darwin \
- --disable-xsmp \
- --disable-mzschemeinterp \
- --disable-perlinterp \
- --disable-pythoninterp \
- --disable-tclinterp \
- --disable-rubyinterp \
- --disable-cscope \
- --disable-workshop \
- --disable-netbeans \
- --disable-sniff \
- --disable-hangulinput \
- --disable-xim \
- --disable-fontset \
- --disable-gui \
- --disable-acl \
- --disable-gpm \
- --with-features=small \
- --with-compiledby=OpenADK \
- --without-x \
- --with-tlib=ncurses \
- --disable-multibyte
- XAKE_FLAGS+= prefix=/usr \
- DESTDIR=${WRKINST} \
- STRIP=:
- post-install:
- ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
- ${INSTALL_DIR} ${IDIR_VIM}/usr/share/vim
- ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
- ${CP} ${WRKINST}/usr/share/vim/vim73/vimrc_example.vim \
- ${IDIR_VIM}/usr/share/vim/vimrc
- include ${TOPDIR}/mk/pkg-bottom.mk
|