CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / vim / Pkgfile
index 6298a83a5a86caac20261afd25bf3f896cee3351..30e72b654e1f7645b7dc3f6dc6a425d0f65ff486 100644 (file)
@@ -2,21 +2,15 @@
 # URL: http://www.vim.org/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: ncurses
+# Depends on: ncurses acl
 
 name=vim
-version=7.3.154
+version=7.4.316
 release=1
-source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
-        http://crux.nu/files/distfiles/vim-7.3.001-050.xz
-        http://crux.nu/files/distfiles/vim-7.3.051-102.xz
-        http://crux.nu/files/distfiles/vim-7.3.103-154.xz
-        vim-7.3-cross.diff)
+source=(http://crux.nu/files/distfiles/$name-$version.tar.xz)
 
 build () {
-  cd vim73/src
-  unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73
-  patch -p2 -i $SRC/vim-7.3-cross.diff
+  cd $name-$version/src
 
   cat > auto/config.cache << EOF
 vim_cv_getcwd_broken=no
@@ -38,9 +32,6 @@ EOF
               --without-x \
               --with-tlib=ncurses \
               --disable-gui \
-              --disable-gtktest \
-              --disable-xim \
-              --disable-netbeans \
               --enable-multibyte \
               --disable-gpm \
               --disable-nls \
@@ -64,13 +55,14 @@ EOF
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/ \
+              --datarootdir=/usr/share \
               --with-vim-name=vi \
-              --with-x=no \
-              --enable-gui=no \
+              --without-x \
+              --with-tlib=ncurses \
+              --disable-gui \
               --enable-multibyte \
               --disable-gpm \
               --disable-nls \
-              --with-tlib=ncurses \
               --with-features=tiny
 
   make VIMRTDIR=