summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/genpower
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2010-07-29 06:55:17 +0200
committerAdrien Nader <adrien@notk.org>2010-07-29 06:55:17 +0200
commit200e776ae776bd2a029e06e8edb06a8ad3f4aa0b (patch)
tree1a4535e696bf8cf1b1e749ce95529cc2276812d6 /slackware64-current/source/a/genpower
parentd569799e099e669ca03063fc10f917818e4983b3 (diff)
Thu Jul 29 01:45:40 UTC 2010
a/aaa_terminfo-5.7-x86_64-2.txz: Rebuilt. a/dialog-1.1_20100428-x86_64-1.txz: Upgraded. a/ed-1.4-x86_64-1.txz: Upgraded. a/grep-2.6.3-x86_64-1.txz: Upgraded. a/hdparm-9.29-x86_64-1.txz: Upgraded. a/mtx-1.3.12-x86_64-1.txz: Upgraded. a/ncompress-4.2.4.3-x86_64-1.txz: Upgraded. a/patch-2.6.1-x86_64-1.txz: Upgraded. a/procps-3.2.8-x86_64-1.txz: Upgraded. a/sharutils-4.9-x86_64-1.txz: Upgraded. a/tcsh-6.17.00-x86_64-1.txz: Upgraded. a/tree-1.5.3-x86_64-1.txz: Upgraded. a/utempter-1.1.5-x86_64-1.txz: Upgraded. a/zoo-2.10_22-x86_64-1.txz: Upgraded. ap/a2ps-4.14-x86_64-5.txz: Rebuilt. ap/acct-6.5.4-x86_64-1.txz: Upgraded. ap/at-3.1.12-x86_64-1.txz: Upgraded. ap/aumix-2.9.1-x86_64-1.txz: Upgraded. ap/cdrdao-1.2.3-x86_64-1.txz: Upgraded. ap/diffstat-1.53-x86_64-1.txz: Upgraded. ap/enscript-1.6.5.2-x86_64-1.txz: Upgraded. ap/groff-1.20.1-x86_64-2.txz: Rebuilt. Patched a bug in doc.tmac. Thanks to Willy Sudiarto Raharjo. ap/joe-3.7-x86_64-1.txz: Upgraded. ap/jove-4.16.0.73-x86_64-1.txz: Upgraded. ap/ksh93-2010_06_21-x86_64-1.txz: Upgraded. ap/linuxdoc-tools-0.9.66-x86_64-3.txz: Rebuilt. ap/lsscsi-0.24b1-x86_64-1.txz: Upgraded. ap/sc-7.16-x86_64-3.txz: Rebuilt. ap/texinfo-4.13a-x86_64-4.txz: Rebuilt. ap/sox-14.3.1-x86_64-1.txz: Upgraded. ap/vorbis-tools-1.4.0-x86_64-1.txz: Upgraded. ap/workbone-2.40-x86_64-4.txz: Rebuilt. d/gperf-3.0.4-x86_64-1.txz: Upgraded. d/make-3.82-x86_64-1.txz: Upgraded. d/pkg-config-0.25-x86_64-1.txz: Upgraded. d/strace-4.5.20-x86_64-1.txz: Upgraded. l/jre-6u21-x86_64-1.txz: Upgraded. Upgraded to Java(TM) 2 Platform Standard Edition Runtime Environment Version 6.0 update 20. l/libao-1.0.0-x86_64-1.txz: Upgraded. l/libvorbis-1.3.1-x86_64-1.txz: Upgraded. l/libogg-1.2.0-x86_64-1.txz: Upgraded. n/samba-3.5.4-x86_64-1.txz: Upgraded. extra/jdk-6/jdk-6u21-x86_64-1.txz: Upgraded. Upgraded to Java(TM) 2 Platform Standard Edition Development Kit Version 6.0 update 21.
Diffstat (limited to 'slackware64-current/source/a/genpower')
-rwxr-xr-xslackware64-current/source/a/genpower/genpower.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/slackware64-current/source/a/genpower/genpower.SlackBuild b/slackware64-current/source/a/genpower/genpower.SlackBuild
index 03f15675c..bcf40786e 100755
--- a/slackware64-current/source/a/genpower/genpower.SlackBuild
+++ b/slackware64-current/source/a/genpower/genpower.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,9 +21,18 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
VERSION=${VERSION:-1.0.5}
-ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-2}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ 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=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-genpower