summaryrefslogtreecommitdiffstats
path: root/source/l/liblastfm
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-01-19 19:16:17 +0000
committer Eric Hameleers <alien@slackware.com>2019-01-20 08:59:46 +0100
commit909aa8178495c541c1f8ca0fbf8f2aff5ad5f058 (patch)
treecc456eaab1c22d36920fa8d3b27770f02b5bf4af /source/l/liblastfm
parentf8d5f8311e58321bd273c482a4e58ab22a7d8300 (diff)
downloadcurrent-909aa8178495c541c1f8ca0fbf8f2aff5ad5f058.tar.gz
current-909aa8178495c541c1f8ca0fbf8f2aff5ad5f058.tar.xz
Sat Jan 19 19:16:17 UTC 201920190119191617
ap/cups-filters-1.22.0-x86_64-1.txz: Upgraded. d/Cython-0.29.3-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_24-x86_64-1.txz: Upgraded. l/libwebp-1.0.2-x86_64-1.txz: Upgraded. n/ModemManager-1.10.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/liblastfm')
-rwxr-xr-xsource/l/liblastfm/liblastfm.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/l/liblastfm/liblastfm.SlackBuild b/source/l/liblastfm/liblastfm.SlackBuild
index 846019137..15452fc54 100755
--- a/source/l/liblastfm/liblastfm.SlackBuild
+++ b/source/l/liblastfm/liblastfm.SlackBuild
@@ -69,17 +69,21 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+mkdir cmake-build
+cd cmake-build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \
-DBUILD_FINGERPRINT="ON" \
- -DBUILD_WITH_QT4="ON"
+ -DBUILD_WITH_QT4="ON" .. || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+cd ..
+
if [ -d $PKG/usr/man ]; then
gzip -9 $PKG/usr/man/man?/*
fi