diff options
-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" |