diff options
Diffstat (limited to 'libraries/zita-resampler/zita-resampler.SlackBuild')
-rw-r--r-- | libraries/zita-resampler/zita-resampler.SlackBuild | 11 |
1 files changed, 6 insertions, 5 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/ |