aboutsummaryrefslogtreecommitdiff
path: root/libraries/zita-resampler
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
parentb87924e1ad50c207a355f82988a33992850bbe09 (diff)
libraries/zita-resampler: Updated for version 1.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/zita-resampler')
-rw-r--r--libraries/zita-resampler/zita-resampler.SlackBuild11
-rw-r--r--libraries/zita-resampler/zita-resampler.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/libraries/zita-resampler/zita-resampler.SlackBuild b/libraries/zita-resampler/zita-resampler.SlackBuild
index ae560df59cf1e..4e62ce8487d52 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/
diff --git a/libraries/zita-resampler/zita-resampler.info b/libraries/zita-resampler/zita-resampler.info
index 30ae568fa66cf..43f9bca1e9b2e 100644
--- a/libraries/zita-resampler/zita-resampler.info
+++ b/libraries/zita-resampler/zita-resampler.info
@@ -1,8 +1,8 @@
PRGNAM="zita-resampler"
-VERSION="0.1.1"
+VERSION="1.3.0"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/zita-resampler-0.1.1.tar.bz2"
-MD5SUM="cbf0da8b7ace593082a5f01eed828109"
+DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-1.3.0.tar.bz2"
+MD5SUM="74c12e2280008f63ac9f2670fe4cf79b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""