[Lunar-commits] <moonbase> cdrkit: use -Wno-dev, added missing depends

Christian Krause wookietreiber at lunar-linux.org
Thu May 12 10:08:44 CEST 2011


commit 8289ef70c23b46ad905047a06fa130fd2d805df1
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Thu May 12 10:08:44 2011 +0200

    cdrkit: use -Wno-dev, added missing depends
---
 zbeta/cdrkit/BUILD   |   12 ++++--------
 zbeta/cdrkit/DEPENDS |    2 ++
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/zbeta/cdrkit/BUILD b/zbeta/cdrkit/BUILD
index 56c3241..f012076 100644
--- a/zbeta/cdrkit/BUILD
+++ b/zbeta/cdrkit/BUILD
@@ -1,13 +1,9 @@
 (
 
-  export PREFIX=/usr &&
-
-  # this will save us from a lot of annoying warnings
-  # (actually should have been cared of by cdrkit-devs)
-  for file in `find -type f -name CMakeLists.txt` ; do
-    echo "cmake_minimum_required(VERSION 2.8)" >> $file
-    echo "cmake_policy(SET CMP0015 NEW)" >> $file
-  done &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        -Wno-dev                               \
+        $OPTS                                 &&
 
   default_make
 
diff --git a/zbeta/cdrkit/DEPENDS b/zbeta/cdrkit/DEPENDS
index 0d6e6f5..b697cc4 100644
--- a/zbeta/cdrkit/DEPENDS
+++ b/zbeta/cdrkit/DEPENDS
@@ -1,2 +1,4 @@
 depends cmake
 depends libcap
+depends bzip2
+depends file


More information about the Lunar-commits mailing list