diff options
Diffstat (limited to 'source.local/ap/lm_sensors/lm_sensors.SlackBuild')
-rwxr-xr-x | source.local/ap/lm_sensors/lm_sensors.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source.local/ap/lm_sensors/lm_sensors.SlackBuild b/source.local/ap/lm_sensors/lm_sensors.SlackBuild index a3b0093..70fd30e 100755 --- a/source.local/ap/lm_sensors/lm_sensors.SlackBuild +++ b/source.local/ap/lm_sensors/lm_sensors.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2006, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2008, 2009, 2010, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -20,22 +20,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified 2012 by Eric Hameleers <alien at slackware.com> for ARM port. +# Modified 2013 by Eric Hameleers <alien at slackware.com> for ARM port. PKGNAM=lm_sensors -VERSION=${VERSION:-3.1.2} +VERSION=${VERSION:-3.3.3} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: -MARCH=$( uname -m ) if [ -z "$ARCH" ]; then - case "$MARCH" in - i?86) export ARCH=i486 ;; - armv7hl) export ARCH=$MARCH ;; - arm*) export ARCH=arm ;; + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$MARCH ;; + *) export ARCH=$( uname -m ) ;; esac fi |