summaryrefslogtreecommitdiff
path: root/source/d/automake/automake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/automake/automake.SlackBuild')
-rwxr-xr-xsource/d/automake/automake.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/source/d/automake/automake.SlackBuild b/source/d/automake/automake.SlackBuild
index c105dfeb..b7ef13c6 100755
--- a/source/d/automake/automake.SlackBuild
+++ b/source/d/automake/automake.SlackBuild
@@ -21,11 +21,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=1.10.1
-ARCH=${ARCH:-x86_64} # note: the package is _built_ as 'noarch'
+VERSION=1.11.1
NUMJOBS=${NUMJOBS:-" -j7 "}
BUILD=${BUILD:-1}
+# Note: the package is _built_ as 'noarch'
+# Automatically determine architecture for build & packaging:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ # 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-automake
@@ -46,6 +55,7 @@ find . \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--infodir=/usr/info \
--build=$ARCH-slackware-linux