[Lunar-commits] <moonbase> graphics: Adjusting the BUILD by switching to default_cmake_build.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Jun 8 11:30:40 CEST 2011


commit 496fbf9d79c38cdbaf2cc35755b6845f61a2ed4c
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Jun 8 05:30:40 2011 -0400

    graphics: Adjusting the BUILD by switching to default_cmake_build.
---
 graphics/OpenSceneGraph/BUILD  |    9 +++------
 graphics/autopano-sift-C/BUILD |    6 +-----
 graphics/hugin/BUILD           |   11 +----------
 graphics/vigra/BUILD           |    6 +-----
 4 files changed, 6 insertions(+), 26 deletions(-)

diff --git a/graphics/OpenSceneGraph/BUILD b/graphics/OpenSceneGraph/BUILD
index c4d9ae9..5226234 100644
--- a/graphics/OpenSceneGraph/BUILD
+++ b/graphics/OpenSceneGraph/BUILD
@@ -7,11 +7,8 @@
   export XUL_INCLUDE_DIR=/usr/include/xulrunner-$(installed_version xulrunner) &&
   export XUL_LIBRARIES=/usr/lib/xulrunner-$(installed_version xulrunner) 
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX   \
-        -DCMAKE_BUILD_TYPE=RELEASE              \
-        -Wno-dev                                \
-        $OPTS .                                &&
-
-  default_make
+  OPTS+="  -Wno-dev" &&
+  
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/autopano-sift-C/BUILD b/graphics/autopano-sift-C/BUILD
index f264a59..a287bb9 100644
--- a/graphics/autopano-sift-C/BUILD
+++ b/graphics/autopano-sift-C/BUILD
@@ -1,10 +1,6 @@
 (
 
-cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
-
-make
-prepare_install
-make install
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
 
diff --git a/graphics/hugin/BUILD b/graphics/hugin/BUILD
index 18c3375..375aab2 100644
--- a/graphics/hugin/BUILD
+++ b/graphics/hugin/BUILD
@@ -5,15 +5,6 @@
   exit 1;
  fi &&
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-  mkdir $OOTB_DIR  &&
-  cd $OOTB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/vigra/BUILD b/graphics/vigra/BUILD
index 07b1411..bd4c265 100644
--- a/graphics/vigra/BUILD
+++ b/graphics/vigra/BUILD
@@ -1,9 +1,5 @@
 (
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        $OPTS .                               &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list