summaryrefslogtreecommitdiff
path: root/package/vim
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/vim
Initial import
Diffstat (limited to 'package/vim')
-rw-r--r--package/vim/Config.in11
-rw-r--r--package/vim/Makefile64
-rw-r--r--package/vim/ipkg/vim.control5
3 files changed, 80 insertions, 0 deletions
diff --git a/package/vim/Config.in b/package/vim/Config.in
new file mode 100644
index 000000000..bece93a03
--- /dev/null
+++ b/package/vim/Config.in
@@ -0,0 +1,11 @@
+config ADK_PACKAGE_VIM
+ prompt "vim............................... VI Improved"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBNCURSES
+ help
+ An improved version of VI.
+ Note that compiling this on non-Linux may break some things.
+ The configure script is horrible.
+
+ http://www.vim.org
diff --git a/package/vim/Makefile b/package/vim/Makefile
new file mode 100644
index 000000000..2f5405971
--- /dev/null
+++ b/package/vim/Makefile
@@ -0,0 +1,64 @@
+# $Id$
+#-
+# 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.2
+PKG_RELEASE= 1
+PKG_MD5SUM= f0901284b338e448bfd79ccca0041254
+PKG_PARALLEL:= 1
+MASTER_SITES= ftp://ftp.vim.org/pub/vim/unix/
+DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+WRKDIST= ${WRKDIR}/vim72
+WRKSRC= ${WRKDIST}/src
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,VIM,vim,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+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 \
+ --disable-nls \
+ --with-features=tiny \
+ --with-compiledby=OpenADK \
+ --without-x \
+ --with-tlib=ncurses \
+ --disable-multibyte
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+XAKE_FLAGS+= prefix=/usr \
+ DESTDIR=${WRKINST} \
+ STRIP=:
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_VIM}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/{ex,vim,view} ${IDIR_VIM}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vim/ipkg/vim.control b/package/vim/ipkg/vim.control
new file mode 100644
index 000000000..2b5d92843
--- /dev/null
+++ b/package/vim/ipkg/vim.control
@@ -0,0 +1,5 @@
+Package: vim
+Priority: optional
+Section: text
+Depends: libncurses
+Description: Vi Improved