summaryrefslogtreecommitdiff
path: root/audio/gogglesmm/gogglesmm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gogglesmm/gogglesmm.SlackBuild')
-rw-r--r--audio/gogglesmm/gogglesmm.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/gogglesmm/gogglesmm.SlackBuild b/audio/gogglesmm/gogglesmm.SlackBuild
index 3b4be87872..1c09e5bacc 100644
--- a/audio/gogglesmm/gogglesmm.SlackBuild
+++ b/audio/gogglesmm/gogglesmm.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gogglesmm
-VERSION=${VERSION:-1.1.8}
+VERSION=${VERSION:-1.1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,16 +43,16 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRCONFIG=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRCONFIG=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRCONFIG="--lib64"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRCONFIG=""
+ LIBDIRSUFFIX=""
fi
set -e
@@ -70,6 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|#\ set(CMAKE_INSTALL_LIBDIR\ \"lib|set(CMAKE_INSTALL_LIBDIR \"lib$LIBDIRSUFFIX|" CMakeLists.txt
+
mkdir -p build
cd build
cmake \