[Lunar-commits] <moonbase> ParaView: Dropping the $MAJOR and adjusting BUILD to use default_cmake_build.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Aug 24 13:19:21 CEST 2011


commit d0c36fb71886d4f6dec045709371f1f64d454bb0
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Aug 24 07:19:21 2011 -0400

    ParaView: Dropping the $MAJOR and adjusting BUILD to use default_cmake_build.
---
 science/ParaView/BUILD   |   17 ++++-------------
 science/ParaView/DETAILS |    5 ++---
 2 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/science/ParaView/BUILD b/science/ParaView/BUILD
index 2a7a088..045e22b 100644
--- a/science/ParaView/BUILD
+++ b/science/ParaView/BUILD
@@ -1,21 +1,12 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+  OPTS+=" -DBUILD_SHARED_LIBS=ON" &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
+  default_cmake_build
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        -DBUILD_SHARED_LIBS=ON                 \
-        $OPTS                                  \
-        $SOURCE_DIRECTORY/                    &&
+  install ../Documentation/ParaViewLogo.png /usr/share/icons &&
 
-  default_make &&
-
-  install Documentation/ParaViewLogo.png /usr/share/icons &&
-
-  # Desktop menu entry
+#   Desktop menu entry
   cat > ${MODULE}.desktop << EOF  &&
 [Desktop Entry]
 Type=Application
diff --git a/science/ParaView/DETAILS b/science/ParaView/DETAILS
index 10b1ee8..7ede142 100644
--- a/science/ParaView/DETAILS
+++ b/science/ParaView/DETAILS
@@ -1,8 +1,7 @@
           MODULE=ParaView
-           MAJOR=3.10
-         VERSION=${MAJOR}.1
+         VERSION=3.10.1
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=http://www.paraview.org/files/v${MAJOR}/
+      SOURCE_URL=http://www.paraview.org/files/v${VERSION%.*}/
       SOURCE_VFY=sha1:2e56788c9d27f83b5400ffb3770024cf04fa0e4c
         WEB_SITE=http://www.paraview.org/
          ENTERED=20101121


More information about the Lunar-commits mailing list