network/noip2: Cleaned up Build.

This commit is contained in:
dsomero 2010-05-27 05:03:24 -04:00 committed by David Somero
parent 172d87527a
commit 28e060948c

View file

@ -27,10 +27,20 @@
PRGNAM=noip2 PRGNAM=noip2
SRCNAM=noip SRCNAM=noip
VERSION=2.1.9 VERSION=2.1.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG=_SBO} TAG=${TAG=_SBo}
CWD=`pwd`
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}