[Lunar-commits] <moonbase-other> mc: fix & cleanup & version bumped

v4hn me at v4hn.de
Sun Jul 14 03:24:14 CEST 2013


commit 1c23aff803319fde7380aace8f8c0f2d23c954bd
Author: v4hn <me at v4hn.de>
Date: Sat, 13 Jul 2013 18:23:49 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/1c23aff803319fde7380aace8f8c0f2d23c954bd

mc: fix & cleanup & version bumped
---
  filemanagers/mc/BUILD     | +2/-27    
  filemanagers/mc/DEPENDS   | +4/-1     
  filemanagers/mc/DETAILS   | +5/-6     
  filemanagers/mc/PRE_BUILD | +7/-0     
  4 files changed, 18 insertions(+), 34 deletions(-)

--- a/filemanagers/mc/BUILD
+++ b/filemanagers/mc/BUILD
@@ -1,28 +1,3 @@
-(
+OPTS+=" --enable-largefile --disable-tests" &&
 
-  aclocal  &&
-  automake --add-missing  &&
-
-  if module_installed libX11; then
-     OPTS+=" --with-x "
-  fi  &&
-
-  ./configure  --build=$BUILD             \
-               --prefix=/usr              \
-               --bindir=/usr/bin          \
-               --sbindir=/usr/sbin        \
-               --sysconfdir=/etc          \
-               --localstatedir=/var       \
-               --infodir=/usr/share/info  \
-               --mandir=/usr/share/man    \
-               --enable-largefile         \
-               --without-gnome            \
-               --without-debug            \
-               --with-terminfo            \
-               --disable-glibtest         \
-               --with-ext2undel           \
-               $OPTS                     &&
-
-  default_make
-
-) > $C_FIFO 2>&1
+default_build
--- a/filemanagers/mc/DEPENDS
+++ b/filemanagers/mc/DEPENDS
@@ -1,9 +1,10 @@
 depends  glib-2
-depends  e2fsprogs
 depends  ncurses
 
 optional_depends "slang" "--with-screen=slang" "--with-screen=ncurses" "for slang as interface instead of ncurses"
 
+optional_depends e2fsprogs "--enable-vfs-undelfs" "--disable-vfs-undelfs" "for ext2 undel operation"
+
 optional_depends "antiword" "" "" "to view MS documents"
 optional_depends "catdoc"   "" "" "to view MS documents"
 optional_depends "odt2txt"  "" "" "to view OpenOffice-like documents"
@@ -12,3 +13,5 @@ optional_depends "gpm"                   \
                  "--with-gpm-mouse"      \
                  "--without-gpm-mouse"   \
                  "for GPM mouse support"
+
+optional_depends "libX11" "--with-x" "--without-x" "for X11 event support"
--- a/filemanagers/mc/DETAILS
+++ b/filemanagers/mc/DETAILS
@@ -1,12 +1,11 @@
           MODULE=mc
-         VERSION=4.8.8
+         VERSION=4.8.9
           SOURCE=$MODULE-$VERSION.tar.bz2
-   SOURCE_URL[0]=$MIRROR_URL
-   SOURCE_URL[1]=http://www.midnight-commander.org/downloads
-      SOURCE_VFY=sha1:76d94036e6ac7bb28efdc07742e943a64f29e1fe
-        WEB_SITE=http://www.ibiblio.org/mc
+      SOURCE_URL=http://www.midnight-commander.org/downloads
+      SOURCE_VFY=sha1:e95358bfbdb5d3f68fe13a8abdfb96e32d8e6bfd
+        WEB_SITE=http://www.midnight-commander.org
          ENTERED=20010922
-         UPDATED=20130405
+         UPDATED=20130714
            SHORT="Unix file manager and shell"
 
 cat << EOF
--- /dev/null
+++ b/filemanagers/mc/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+
+aclocal  &&
+automake --add-missing  &&
+
+# respect standard ncursesw include path
+sedit "9 s:ncurses/:ncursesw/:g" lib/tty/tty-ncurses.h




More information about the Lunar-commits mailing list