aboutsummaryrefslogtreecommitdiff
path: root/libraries/zita-resampler
diff options
context:
space:
mode:
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=""