summaryrefslogtreecommitdiff
path: root/multimedia/LiVES/LiVES.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/LiVES/LiVES.SlackBuild')
-rw-r--r--multimedia/LiVES/LiVES.SlackBuild26
1 files changed, 9 insertions, 17 deletions
diff --git a/multimedia/LiVES/LiVES.SlackBuild b/multimedia/LiVES/LiVES.SlackBuild
index 4be6aa698d..15326cda85 100644
--- a/multimedia/LiVES/LiVES.SlackBuild
+++ b/multimedia/LiVES/LiVES.SlackBuild
@@ -8,18 +8,16 @@
# at slackbuilds.org
PRGNAM=LiVES
-VERSION=1.1.8
+VERSION=1.3.4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
- esac
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
fi
CWD=$(pwd)
@@ -33,11 +31,11 @@ if [ "$ARCH" = "i486" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
+ else
+ SLKCFLAGS="-02"
LIBDIRSUFFIX=""
fi
@@ -53,8 +51,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,g-w+r,o-w+r .
-patch smogrify $CWD/LiVES.patch
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -67,10 +63,6 @@ CFLAGS="$SLKCFLAGS" \
make docdir=/usr/doc/$PRGNAM-$VERSION
make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
-# fix wrong link to lives-exe binary
-rm $PKG/usr/bin/lives
-ln -s /usr/bin/lives-exe $PKG/usr/bin/lives
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild