[Lunar-commits] r15970 - moonbase/trunk/editors/elvis

Terry Chan tchan at lunar-linux.org
Mon Aug 1 15:49:54 UTC 2005


Author: tchan
Date: 2005-08-01 15:49:54 +0000 (Mon, 01 Aug 2005)
New Revision: 15970

Added:
   moonbase/trunk/editors/elvis/CONFIGURE
Modified:
   moonbase/trunk/editors/elvis/BUILD
   moonbase/trunk/editors/elvis/DEPENDS
   moonbase/trunk/editors/elvis/DETAILS
Log:
Fixed this module to remove the xserver code.


Modified: moonbase/trunk/editors/elvis/BUILD
===================================================================
--- moonbase/trunk/editors/elvis/BUILD	2005-08-01 15:40:58 UTC (rev 15969)
+++ moonbase/trunk/editors/elvis/BUILD	2005-08-01 15:49:54 UTC (rev 15970)
@@ -4,7 +4,7 @@
   sedit "s/for dir in \$mandir/mandir=\/usr\/share\/man\/man1 ; \0/" instman.sh
   sedit  "s/-O2/$CFLAGS $LDFLAGS/"  configure     &&
   
-  if module_installed xserver; then
+  if [ "$USE_X11" == "y" ]; then
     ./configure  --with-x linux            \
                  --bindir=/usr/bin         \
                  --datadir=/var/lib/elvis  &&
@@ -16,11 +16,9 @@
   ./configure  --with-x=no linux         \
                --bindir=/usr/bin         \
                --datadir=/var/lib/elvis  &&
-  make &&
-  prepare_install &&
-  make install &&
+  default_make &&
   
-  if module_installed xserver; then
+  if [ "$USE_X11" == "y" ]; then
     cp xelvis /usr/bin/xelvis
   fi
 

Added: moonbase/trunk/editors/elvis/CONFIGURE
===================================================================
--- moonbase/trunk/editors/elvis/CONFIGURE	2005-08-01 15:40:58 UTC (rev 15969)
+++ moonbase/trunk/editors/elvis/CONFIGURE	2005-08-01 15:49:54 UTC (rev 15970)
@@ -0,0 +1 @@
+mquery USE_X11   "Build elvis with x11 ?" y

Modified: moonbase/trunk/editors/elvis/DEPENDS
===================================================================
--- moonbase/trunk/editors/elvis/DEPENDS	2005-08-01 15:40:58 UTC (rev 15969)
+++ moonbase/trunk/editors/elvis/DEPENDS	2005-08-01 15:49:54 UTC (rev 15970)
@@ -1 +1,2 @@
-depends ncurses
+depends ncurses &&
+optional_depends "%X" "" "" "Build elvis with x11 support"

Modified: moonbase/trunk/editors/elvis/DETAILS
===================================================================
--- moonbase/trunk/editors/elvis/DETAILS	2005-08-01 15:40:58 UTC (rev 15969)
+++ moonbase/trunk/editors/elvis/DETAILS	2005-08-01 15:49:54 UTC (rev 15970)
@@ -1,8 +1,8 @@
           MODULE=elvis
          VERSION=2.2_0
-        #VERSION=2.1_4
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=ftp://ftp.cs.pdx.edu/pub/$MODULE/
+      SOURCE_URL=ftp://ftp.cs.pdx.edu/pub/$MODULE/
+      SOURCE_VFY=sha1:8c16574b6d36529735b8ced70972ddaf6275a477
         WEB_SITE=http:/elvis.vi-editor.org
          ENTERED=20010922
          UPDATED=20031107



More information about the Lunar-commits mailing list