diff options
author | Steve Pledger <spledger91@yahoo.com> | 2011-01-01 17:59:13 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-02 00:27:36 -0600 |
commit | dd98e2a1a610a042020d0d38aac82d910b8654b2 (patch) | |
tree | 6a19dcbe680015231e66a83ffa81643a13e87c02 /development/bacon/bacon.SlackBuild | |
parent | 4bba6ab98b0aeb94c709d2525f538dd6071f299b (diff) |
development/bacon: Updated for version 1.0_build_20.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/bacon/bacon.SlackBuild')
-rw-r--r-- | development/bacon/bacon.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/development/bacon/bacon.SlackBuild b/development/bacon/bacon.SlackBuild index f361c5ecc39e2..de9befeeee20b 100644 --- a/development/bacon/bacon.SlackBuild +++ b/development/bacon/bacon.SlackBuild @@ -4,16 +4,9 @@ # Written by Steve Pledger <spledger91@yahoo.com> -# 2010-12-21 UPDATE: -# -Niels Horn suggested I display a warning if the internal -# version doesn't match the VERSION variable -# -According to the BaCon documentation, I'm supposed to use the '-o' -# switch for each compiler option. -# e.g. "-o -O2 -o -march=i486 -o -mtune=i686" instead of "-o -O2 -march=i486 -mtune=i686" - PRGNAM="bacon" -VERSION="${VERSION:-1.0_build_19}" -BUILD=${BUILD:-2} +VERSION="${VERSION:-1.0_build_20}" +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -32,10 +25,11 @@ OUTPUT=${OUTPUT:-/tmp} # Version number may change, so figure out the real version SRCVER="$(bash $CWD/bacon.bash -v | grep version | cut -d' ' -f3-5 | tr ' ' _)" +# suggested by Niels Horn: if [ "$VERSION" != "$SRCVER" ]; then cat <<EOF WARNING: The source version ($SRCVER) does not match the VERSION variable ($VERSION). -To build anyway, re-run the SlackBuild like this: +To build anyway, run the SlackBuild like this: VERSION=$SRCVER ./$PRGNAM.SlackBuild |