summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-09 07:51:30 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-09 07:51:30 +0700
commit8977406979c53c22f7039d3f7432d8a26771e2af (patch)
treefb1b05a1feca3ec6041607486452f4b8df67a1cd
parent954a90d795153fa3885c9c3544ad04cb182fd407 (diff)
downloadtemplates-8977406979c53c22f7039d3f7432d8a26771e2af.tar.gz
templates-8977406979c53c22f7039d3f7432d8a26771e2af.tar.xz
*.SlackBuild: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--README2
-rw-r--r--autotools-template.SlackBuild6
-rw-r--r--cmake-template.SlackBuild6
-rw-r--r--haskell-template.SlackBuild6
-rw-r--r--perl-template.SlackBuild6
-rw-r--r--python-template.SlackBuild6
-rw-r--r--rubygem-template.SlackBuild6
7 files changed, 19 insertions, 19 deletions
diff --git a/README b/README
index 81d4351..cbe82e6 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
Template scripts and support files for SlackBuilds.org
-http://slackbuilds.org/templates/
+https://slackbuilds.org/templates/
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index 755e529..2d500e4 100644
--- a/autotools-template.SlackBuild
+++ b/autotools-template.SlackBuild
@@ -56,7 +56,7 @@ TAG=${TAG:-_SBo} # the "_SBo" is required
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -68,8 +68,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index aa102b6..831f685 100644
--- a/cmake-template.SlackBuild
+++ b/cmake-template.SlackBuild
@@ -56,7 +56,7 @@ TAG=${TAG:-_SBo} # the "_SBo" is required
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -68,8 +68,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/haskell-template.SlackBuild b/haskell-template.SlackBuild
index 8dac2d3..929e79b 100644
--- a/haskell-template.SlackBuild
+++ b/haskell-template.SlackBuild
@@ -60,7 +60,7 @@ GHC_VERSION=$(ghc --numeric-version)
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -72,8 +72,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild
index 6787cda..fd7d6c8 100644
--- a/perl-template.SlackBuild
+++ b/perl-template.SlackBuild
@@ -58,7 +58,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -70,8 +70,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/python-template.SlackBuild b/python-template.SlackBuild
index 9734952..409a36f 100644
--- a/python-template.SlackBuild
+++ b/python-template.SlackBuild
@@ -56,7 +56,7 @@ TAG=${TAG:-_SBo} # the "_SBo" is required
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -68,8 +68,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/rubygem-template.SlackBuild b/rubygem-template.SlackBuild
index 68a424e..154ff2b 100644
--- a/rubygem-template.SlackBuild
+++ b/rubygem-template.SlackBuild
@@ -58,7 +58,7 @@ SRCNAM=appname # replace with name of gem
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
@@ -70,8 +70,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"