[Lunar-commits] <moonbase> qt4-apps: Adjusting the BUILD of polit-qt-1, polkit-qt and qjson.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun May 15 16:24:09 CEST 2011


commit d18351954f3ed4e7dc0537172bca730d464e6584
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun May 15 10:24:09 2011 -0400

    qt4-apps: Adjusting the BUILD of polit-qt-1, polkit-qt and qjson.
---
 qt4-apps/polkit-qt-1/BUILD |   11 +++--------
 qt4-apps/polkit-qt/BUILD   |   11 +++--------
 qt4-apps/qjson/BUILD       |   11 +++--------
 3 files changed, 9 insertions(+), 24 deletions(-)

diff --git a/qt4-apps/polkit-qt-1/BUILD b/qt4-apps/polkit-qt-1/BUILD
index cd97ee8..9b966f9 100644
--- a/qt4-apps/polkit-qt-1/BUILD
+++ b/qt4-apps/polkit-qt-1/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  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/qt4-apps/polkit-qt/BUILD b/qt4-apps/polkit-qt/BUILD
index f0bc14b..4046854 100644
--- a/qt4-apps/polkit-qt/BUILD
+++ b/qt4-apps/polkit-qt/BUILD
@@ -1,15 +1,10 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-buid" &&
-
   sedit "s:lib64/automoc4:lib64/automoc4 $KDE4_INSTALL_DIR/lib/automoc4/:" cmake/modules/FindAutomoc4.cmake &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_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/qt4-apps/qjson/BUILD b/qt4-apps/qjson/BUILD
index a334569..6293968 100644
--- a/qt4-apps/qjson/BUILD
+++ b/qt4-apps/qjson/BUILD
@@ -1,15 +1,10 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
 
-  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
 


More information about the Lunar-commits mailing list