aboutsummaryrefslogtreecommitdiff
path: root/multimedia/LiVES/LiVES.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/LiVES/LiVES.SlackBuild')
-rw-r--r--multimedia/LiVES/LiVES.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/multimedia/LiVES/LiVES.SlackBuild b/multimedia/LiVES/LiVES.SlackBuild
index aaef63a8b9257..08c5bd5cfc50a 100644
--- a/multimedia/LiVES/LiVES.SlackBuild
+++ b/multimedia/LiVES/LiVES.SlackBuild
@@ -8,7 +8,7 @@
# at slackbuilds.org
PRGNAM=LiVES
-VERSION=1.6.1
+VERSION=${VERSION:-r1566}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,19 +45,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
mv lives-$VERSION $PRGNAM-$VERSION
-if [ $PULSE = "yes" ]; then
- echo "Pulse patch NOT applied."
- echo "If this build fails, then you probably do not have pulse audio;"
- echo "Try again without the PULSE=yes flag."
-else
- patch -p1 $PRGNAM-$VERSION/src/callbacks.c $CWD/LiVES.patch
-fi
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,g-w+r,o-w+r .
+sh autogen.sh || true
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \