aboutsummaryrefslogtreecommitdiff
path: root/audio/musepack-tools/musepack-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/musepack-tools/musepack-tools.SlackBuild')
-rw-r--r--audio/musepack-tools/musepack-tools.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/musepack-tools/musepack-tools.SlackBuild b/audio/musepack-tools/musepack-tools.SlackBuild
index f95c8b801c87..5d6acce4949d 100644
--- a/audio/musepack-tools/musepack-tools.SlackBuild
+++ b/audio/musepack-tools/musepack-tools.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=musepack-tools
SRCNAM=musepack_src
VERSION=${VERSION:-r475}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,12 +51,15 @@ 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 {} \;
+# sane defaults (hints from Gentoo)
+patch -p1 < $CWD/musepack-tools-475.patch
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
+ -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG