diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-07-04 03:18:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-04 03:18:36 -0500 |
commit | 64d613f464ba4de325f668ed57c631a84c6daf98 (patch) | |
tree | 0214441e0700bd3fe8784b177c09278b28d00451 | |
parent | 44128f561666049aa3586d50a48c247d8b48a9ec (diff) | |
download | slackbuilds-64d613f464ba4de325f668ed57c631a84c6daf98.tar.gz |
libraries/perl-IO-Socket-SSL: Fix ARCH setting (this is not noarch)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/libraries/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild index e36644685b..af8fc8f46c 100644 --- a/libraries/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild +++ b/libraries/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild @@ -24,10 +24,17 @@ PRGNAM=perl-IO-Socket-SSL VERSION=${VERSION:-1.24} -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + SRC_PRGNAM=IO-Socket-SSL DOCS="BUGS Changes README" |