[Lunar-commits] <moonbase> audio: Adjust the BUILD by switching to default_cmake_build.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Jun 8 09:50:41 CEST 2011
commit 66ab143df2ff9934f23d791dda1da5e71872bb94
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Jun 8 03:50:41 2011 -0400
audio: Adjust the BUILD by switching to default_cmake_build.
---
audio/fluidsynth/BUILD | 11 +----------
audio/libmusicbrainz/BUILD | 10 +---------
audio/mppenc/BUILD | 11 +----------
audio/openal/BUILD | 10 +---------
audio/portmidi/BUILD | 7 ++-----
audio/taglib-extras/BUILD | 10 +---------
audio/taglib/BUILD | 11 +----------
audio/traverso/BUILD | 4 +---
8 files changed, 9 insertions(+), 65 deletions(-)
diff --git a/audio/fluidsynth/BUILD b/audio/fluidsynth/BUILD
index d345c5d..bd4c265 100644
--- a/audio/fluidsynth/BUILD
+++ b/audio/fluidsynth/BUILD
@@ -1,14 +1,5 @@
(
- OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
- mkdir $OOSB_DIR &&
- cd $OOSB_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/audio/libmusicbrainz/BUILD b/audio/libmusicbrainz/BUILD
index 77b1309..7060063 100644
--- a/audio/libmusicbrainz/BUILD
+++ b/audio/libmusicbrainz/BUILD
@@ -2,14 +2,6 @@
sed -i "29i #include <stdio.h>" src/utils_private.cpp src/utils_private.h &&
- 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/audio/mppenc/BUILD b/audio/mppenc/BUILD
index bc360ff..a072313 100644
--- a/audio/mppenc/BUILD
+++ b/audio/mppenc/BUILD
@@ -1,14 +1,5 @@
(
- OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
- mkdir $OOSB_DIR &&
- cd $OOSB_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/audio/openal/BUILD b/audio/openal/BUILD
index ec52c4c..30dc536 100644
--- a/audio/openal/BUILD
+++ b/audio/openal/BUILD
@@ -1,14 +1,6 @@
(
- OOT_BUILD="$SOURCE_DIRECTORY/$MODULE-build" &&
-
- mkdir $OOT_BUILD &&
- cd $OOT_BUILD &&
-
- cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
- -DCMAKE_BUILD_TYPE=RELEASE &&
-
- default_build &&
+ default_cmake_build &&
mkdir -p /etc/openal &&
diff --git a/audio/portmidi/BUILD b/audio/portmidi/BUILD
index 196e839..05ac545 100644
--- a/audio/portmidi/BUILD
+++ b/audio/portmidi/BUILD
@@ -1,10 +1,7 @@
(
-
- cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=RELEASE \
- $OPTS &&
-
+ default_cmake_config &&
+
# Their implementation of cmake tends to ignore the prefix, so that
# needs some fixing, else things go in /usr/local.
FIX_PRE=`find -type f -print | cut -c 3-` &&
diff --git a/audio/taglib-extras/BUILD b/audio/taglib-extras/BUILD
index a85b347..ff90601 100644
--- a/audio/taglib-extras/BUILD
+++ b/audio/taglib-extras/BUILD
@@ -1,13 +1,5 @@
(
- TAG_BUILD_DIR="$SOURCE_DIRECTORY/tag-build"
-
- mkdir $TAG_BUILD_DIR &&
- cd $TAG_BUILD_DIR &&
-
- cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
- -DCMAKE_BUILD_TYPE=RELEASE &&
-
- default_make
+ default_cmake_build
) > $C_FIFO 2>&1
diff --git a/audio/taglib/BUILD b/audio/taglib/BUILD
index d345c5d..bd4c265 100644
--- a/audio/taglib/BUILD
+++ b/audio/taglib/BUILD
@@ -1,14 +1,5 @@
(
- OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
- mkdir $OOSB_DIR &&
- cd $OOSB_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/audio/traverso/BUILD b/audio/traverso/BUILD
index 84c4798..bd4c265 100644
--- a/audio/traverso/BUILD
+++ b/audio/traverso/BUILD
@@ -1,7 +1,5 @@
(
- cmake -DCMAKE_INSTALL_PREFIX=/usr ${OPTS} . &&
-
- default_make
+ default_cmake_build
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list