diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-06-04 01:05:53 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-06-04 01:05:53 -0400 |
commit | 794135b330704f56cfb8a9c0f13da3589e6f18f3 (patch) | |
tree | 7afac89c5a7bbb99a0d385119cd0a3c503ff2bd9 /libraries/Net-SSLeay | |
parent | 8e25d6dcffaec5c55e25dfe8b53931a9024331d2 (diff) | |
download | slackbuilds-794135b330704f56cfb8a9c0f13da3589e6f18f3.tar.gz |
libraries/Net-SSLeay: Misc automated cleanups.
Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/Net-SSLeay')
-rw-r--r-- | libraries/Net-SSLeay/Net-SSLeay.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libraries/Net-SSLeay/Net-SSLeay.SlackBuild b/libraries/Net-SSLeay/Net-SSLeay.SlackBuild index ab38adb3ec..81c210fa78 100644 --- a/libraries/Net-SSLeay/Net-SSLeay.SlackBuild +++ b/libraries/Net-SSLeay/Net-SSLeay.SlackBuild @@ -24,10 +24,19 @@ PRGNAM=Net-SSLeay VERSION=1.35 -ARCH=${ARCH:-i486} 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 +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM |