summaryrefslogtreecommitdiffstats
path: root/libraries/chromaprint/chromaprint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/chromaprint/chromaprint.SlackBuild')
-rw-r--r--libraries/chromaprint/chromaprint.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/chromaprint/chromaprint.SlackBuild b/libraries/chromaprint/chromaprint.SlackBuild
index 5cb38b938f..9be319aee9 100644
--- a/libraries/chromaprint/chromaprint.SlackBuild
+++ b/libraries/chromaprint/chromaprint.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for chromaprint
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012
+# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012-2014
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromaprint
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +62,9 @@ else
tools="OFF" ; avfft="OFF" ; fftw3="ON"
fi
-DOCS="CHANGES.txt COPYING.txt NEWS.txt README.txt"
+DOCS="COPYING.txt NEWS.txt README.txt"
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -74,10 +74,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
mkdir -p build
cd build
@@ -89,6 +89,7 @@ cd build
-DWITH_AVFFT="$avfft" \
-DWITH_FFTW3="$fftw3" \
-DBUILD_TOOLS="$tools" \
+ -DBUILD_EXAMPLES="ON" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG