aboutsummaryrefslogtreecommitdiff
path: root/libraries/libquvi/libquvi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libquvi/libquvi.SlackBuild')
-rw-r--r--libraries/libquvi/libquvi.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/libraries/libquvi/libquvi.SlackBuild b/libraries/libquvi/libquvi.SlackBuild
index a678e04dc71b..fe0c4e083d5f 100644
--- a/libraries/libquvi/libquvi.SlackBuild
+++ b/libraries/libquvi/libquvi.SlackBuild
@@ -4,16 +4,16 @@
# Made by trebol 2012/12/13
# Modified by crocket <crockabiscuit@gmail.com>
-# Maintained by slackmuz <petar.linog@gmail.com>
+# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
PRGNAM=libquvi
-VERSION=${VERSION:-0.4.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -38,7 +38,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README ABOUT-NLS VERSION"
set -e
@@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,7 +74,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION