diff options
Diffstat (limited to 'source/l/liblastfm/liblastfm.SlackBuild')
-rwxr-xr-x | source/l/liblastfm/liblastfm.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/l/liblastfm/liblastfm.SlackBuild b/source/l/liblastfm/liblastfm.SlackBuild index 84601913..15452fc5 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 |