summaryrefslogtreecommitdiff
path: root/libraries/zita-resampler/zita-resampler.SlackBuild
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2014-01-06 19:11:23 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:07 -0600
commita0e90db2d3419834cd08550cd422744a1f9429cb (patch)
tree21fdff0dbbfc13a08e8cdaf14544962e5fab2973 /libraries/zita-resampler/zita-resampler.SlackBuild
parentb87924e1ad50c207a355f82988a33992850bbe09 (diff)
downloadslackbuilds-a0e90db2d3419834cd08550cd422744a1f9429cb.tar.gz
libraries/zita-resampler: Updated for version 1.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/zita-resampler/zita-resampler.SlackBuild')
-rw-r--r--libraries/zita-resampler/zita-resampler.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/zita-resampler/zita-resampler.SlackBuild b/libraries/zita-resampler/zita-resampler.SlackBuild
index ae560df59c..4e62ce8487 100644
--- a/libraries/zita-resampler/zita-resampler.SlackBuild
+++ b/libraries/zita-resampler/zita-resampler.SlackBuild
@@ -3,7 +3,7 @@
# Written by Michales Michaloudes korgie@gmail.com
PRGNAM=zita-resampler
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,10 +51,11 @@ find -L . \
# no configure file
cd $TMP/$PRGNAM-$VERSION/libs
-sed -i -e 's+/usr/local+/usr/bin+' Makefile
+sed -i -e 's+/usr/local+/usr/bin+' -e 's+^CXXFLAGS.*++' Makefile
+SUFFIX="$LIBDIRSUFFIX" \
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wall -ffast-math" \
make
# copy library and header file
@@ -64,8 +65,8 @@ cd $PKG/usr/lib${LIBDIRSUFFIX}/
ln -s ./lib${PRGNAM}.so.${VERSION} ./lib${PRGNAM}.so
cd $TMP/$PRGNAM-$VERSION/libs
-mkdir -p $PKG/usr/include
-install -m 644 ${PRGNAM}.h $PKG/usr/include/
+mkdir -p $PKG/usr/include/$PRGNAM
+install -m 644 $PRGNAM/*.h $PKG/usr/include/$PRGNAM/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION/