aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-27 02:41:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-28 01:56:45 +0700
commit0e06193204c011ed4442a48ca235a2da0593be49 (patch)
tree8fc841b154c2fd74187a53f9ecf06e2f52a5e292 /network
parent469c4087365650b74f2b521ed783c9ca648edac9 (diff)
network/opera-developer: Stop building for non x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/opera-developer/opera-developer.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild
index aa180fb160677..031ff2e1e95f8 100644
--- a/network/opera-developer/opera-developer.SlackBuild
+++ b/network/opera-developer/opera-developer.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=opera-developer
VERSION=${VERSION:-47.0.2628.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -46,17 +46,21 @@ if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
BITS="amd64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
fi
rm -rf $PKG