[Lunar-commits] <moonbase> vigra: Adjusting DEPENDS and BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu May 12 00:45:19 CEST 2011


commit 27f1d05420f5c97f0996ba7dbad9adb7e75e98b1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed May 11 18:45:19 2011 -0400

    vigra: Adjusting DEPENDS and BUILD.
---
 graphics/vigra/BUILD   |   11 +++--------
 graphics/vigra/DEPENDS |    7 ++++---
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/graphics/vigra/BUILD b/graphics/vigra/BUILD
index 95d4fec..07b1411 100644
--- a/graphics/vigra/BUILD
+++ b/graphics/vigra/BUILD
@@ -1,13 +1,8 @@
 (
 
-  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                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/graphics/vigra/DEPENDS b/graphics/vigra/DEPENDS
index 1a4726e..9dc0f26 100644
--- a/graphics/vigra/DEPENDS
+++ b/graphics/vigra/DEPENDS
@@ -1,10 +1,11 @@
 depends cmake
-depends hdf5
 
+optional_depends "hdf5"      "-DWITH_HDF5=ON" "-DWITH_HDF5=OFF" "For data model, library, and file format support"
 optional_depends "fftw3"     ""  ""  "fast C FFT library"
+optional_depends "nose"      ""  ""  "for test discovery unittest"
 optional_depends "zlib"      ""  ""  "compression support"
 optional_depends "libpng"    ""  ""  "for png support"
-optional_depends "%JPEG"      ""  ""  "for jpeg support"
+optional_depends "%JPEG"     ""  ""  "for jpeg support"
 optional_depends "openMotif" ""  ""  "for tiff support"
 optional_depends "boost"     ""  ""  "for boost support"
-optional_depends "Sphinx"    ""  ""  "for document generation support"
+optional_depends "Sphinx"    "-DPYTHON_SPHINX=ON"  "-DPYTHON_SPHINX=OFF"  "for document generation support"


More information about the Lunar-commits mailing list