summaryrefslogtreecommitdiff
path: root/package/vim
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/vim
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/vim')
-rw-r--r--package/vim/Makefile12
-rw-r--r--package/vim/ipkg/vim.control5
2 files changed, 8 insertions, 9 deletions
diff --git a/package/vim/Makefile b/package/vim/Makefile
index de5074b7f..323b1acad 100644
--- a/package/vim/Makefile
+++ b/package/vim/Makefile
@@ -9,17 +9,21 @@ 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/
+PKG_DESCR:= The text editor
+PKG_SECTION:= text
+PKG_DEPENDS:= libncurses
+PKG_URL:= http://www.vim.org
+PKG_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}))
+$(eval $(call PKG_template,VIM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= vim_cv_toupper_broken=no \
vim_cv_getcwd_broken=no \
vim_cv_stat_ignores_slash=yes \
diff --git a/package/vim/ipkg/vim.control b/package/vim/ipkg/vim.control
deleted file mode 100644
index 2b5d92843..000000000
--- a/package/vim/ipkg/vim.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: vim
-Priority: optional
-Section: text
-Depends: libncurses
-Description: Vi Improved