diff options
author | klaatu <klaatu@hackerpublicradio.org> | 2010-07-08 09:54:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-08 09:54:36 -0500 |
commit | 48c5916d582de2670355d5c3d4fd09c459cb497f (patch) | |
tree | 54bbf248ac8aa5a24b4114b1cd004273d786735a /multimedia/LiVES/LiVES.SlackBuild | |
parent | 600b81800463052fc51377e3ac6940718abb6a34 (diff) | |
download | slackbuilds-48c5916d582de2670355d5c3d4fd09c459cb497f.tar.gz |
multimedia/LiVES: Updated for version 1.3.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/LiVES/LiVES.SlackBuild')
-rw-r--r-- | multimedia/LiVES/LiVES.SlackBuild | 26 |
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 |