mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
multimedia/opera-developer-ffmpeg-codecs: Fix build on x86.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
06dd3b1a67
commit
b5d346bae2
1 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM="opera-developer-ffmpeg-codecs"
|
||||
VERSION=${VERSION:-57.0.2970.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -43,15 +43,15 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
BITS="i386"
|
||||
BITS="i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
BITS="i386"
|
||||
BITS="i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
BITS="amd64"
|
||||
BITS="x86_64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -66,7 +66,7 @@ mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
|
|||
|
||||
cd $TMP/$PRGNAM
|
||||
mkdir -p $PRGNAM-${VERSION}
|
||||
tar xvf $CWD/${PRGNAM}-${SRCVER}-${ARCH}.pkg.tar.xz \
|
||||
tar xvf $CWD/${PRGNAM}-${SRCVER}-${BITS}.pkg.tar.xz \
|
||||
--exclude={.PKGINFO,.BUILDINFO,.MTREE} -C $PRGNAM-${VERSION}
|
||||
cd $PRGNAM-${VERSION}
|
||||
chown -R root:root .
|
||||
|
|
Loading…
Reference in a new issue