aboutsummaryrefslogtreecommitdiff
path: root/cinelerra
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2006-10-28 17:36:29 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2006-10-28 17:36:29 +0000
commit46cb740d802dc5735d3bc0effebda792ae154de0 (patch)
tree937647379254492038a5cd847e2c26c4c80a7012 /cinelerra
parent5f711c1fb796d7420cb133298ae87cb7965c8f5e (diff)
downloadslackbuilds-46cb740d802dc5735d3bc0effebda792ae154de0.tar.gz
slackbuilds-46cb740d802dc5735d3bc0effebda792ae154de0.tar.bz2
cinelerra update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@541 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'cinelerra')
-rwxr-xr-xcinelerra/cinelerra.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/cinelerra/cinelerra.SlackBuild b/cinelerra/cinelerra.SlackBuild
index f31b1672..1347c67b 100755
--- a/cinelerra/cinelerra.SlackBuild
+++ b/cinelerra/cinelerra.SlackBuild
@@ -28,7 +28,7 @@ fi
# default settings
PACKAGE="cinelerra"
-ARCH=${ARCH:=i486}
+ARCH=${ARCH:=i586}
VERSION=${VERSION:=svn}
BUILD=${BUILD:=1rd}
SRC_DIR=${SRC:=$CWD}
@@ -67,15 +67,15 @@ cd $SRC_DIR/cinelerra
VERSION=r"`svnversion cinelerra`"
if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
- patch -p0 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH
+ patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH
fi
-if [ "$ARCH" == "powerpc" ]; then
- patch -p0 < $CWD/$PACKAGE-powerpc.diff || exit $ERROR_PATCH
+if [ "$ARCH" == "i586" ]; then
+ EXTRA_ACFLAGS=" --enable-mmx"
fi
./autogen.sh || exit $ERROR_CONF
-./configure --prefix=/usr --libdir=$LIBDIR || exit $ERROR_CONF
+./configure --prefix=/usr --libdir=$LIBDIR $EXTRA_ACFLAGS || exit $ERROR_CONF
make || exit $ERROR_MAKE
make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL