summaryrefslogtreecommitdiffstats
path: root/audio/ncmpcpp/ncmpcpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild
index 8e69215563..96e3098f0e 100644
--- a/audio/ncmpcpp/ncmpcpp.SlackBuild
+++ b/audio/ncmpcpp/ncmpcpp.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for ncmpcpp
# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
-# Copyright 2015 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2015-2017 Jostein Berntsen <jbernts@broadpark.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=ncmpcpp
-VERSION=${VERSION:-0.7.4}
+VERSION=${VERSION:-0.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,14 +70,12 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -ie 's/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4, false))/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4))/g' src/tags.cpp
-export BOOST_LIB_SUFFIX=""
./autogen.sh \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
@@ -85,9 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \
--with-curl \
--with-taglib \
--with-fftw \
---enable-clock \
---enable-visualizer \
- --build=$ARCH-slackware-linux
+ --enable-clock \
+ --enable-visualizer \
+ --build=$ARCH-slackware-linux
make docdir=/usr/doc/$PRGNAM-$VERSION
make docdir=/usr/doc/$PRGNAM-$VERSION install-strip DESTDIR=$PKG