diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-05-01 10:22:41 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 09:08:23 -0500 |
commit | 9864a013ca05cbc6f9b7a55bb5d4ac1ab9c174df (patch) | |
tree | 1aaa20c74386c69fa6fd3c27c9377626d803c661 /libraries | |
parent | 449d0b7fdea9ffd760796a8f1dcc7ff3ea958893 (diff) |
libraries/live555: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/javacomm/javacomm.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libraries/javacomm/javacomm.SlackBuild b/libraries/javacomm/javacomm.SlackBuild index dd08a9ba0e71..358bcfc9ca60 100644 --- a/libraries/javacomm/javacomm.SlackBuild +++ b/libraries/javacomm/javacomm.SlackBuild @@ -6,11 +6,19 @@ PRGNAM=javacomm VERSION=2.0 -SRCVER=20-x86 -ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=20-x86 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM |