upgraded and overrideable variables
This commit is contained in:
parent
ae3a175a76
commit
c45dd2c811
1 changed files with 7 additions and 7 deletions
|
@ -4,19 +4,19 @@ set -x
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=$(basename $CWD)
|
PRGNAM=$(basename $CWD)
|
||||||
VERSION=5.1.1
|
VERSION=${VERSION:=5.1.2}
|
||||||
|
|
||||||
BUILD=1
|
BUILD=${BUILD:=1}
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
ARCH=${ARCH:=$(uname -m)}
|
||||||
LIBSUFFIX=$(echo $ARCH | grep -o 64)
|
LIBSUFFIX=$(echo $ARCH | grep -o 64)
|
||||||
|
|
||||||
TAG=cyco
|
TAG=${TAG:=cyco}
|
||||||
OUTPUT=/tmp
|
OUTPUT=${OUTPUT:=/tmp}
|
||||||
TMP=/tmp/$TAG
|
TMP=${TMP:=/tmp/$TAG}
|
||||||
PKG=$TMP/pkg-$PRGNAM
|
PKG=$TMP/pkg-$PRGNAM
|
||||||
|
|
||||||
PREFIX=/usr
|
PREFIX=${PREFIX:=/usr}
|
||||||
|
|
||||||
# Cleaning
|
# Cleaning
|
||||||
rm -fr $TMP/$PRGNAM-$VERSION $PKG
|
rm -fr $TMP/$PRGNAM-$VERSION $PKG
|
||||||
|
|
Loading…
Reference in a new issue