development/bacon: Updated for version 1.0_build_20.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Steve Pledger 2011-01-01 17:59:13 -05:00 committed by Robby Workman
parent 4bba6ab98b
commit dd98e2a1a6
2 changed files with 8 additions and 14 deletions

View file

@ -4,16 +4,9 @@
# Written by Steve Pledger <spledger91@yahoo.com> # 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" PRGNAM="bacon"
VERSION="${VERSION:-1.0_build_19}" VERSION="${VERSION:-1.0_build_20}"
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -32,10 +25,11 @@ OUTPUT=${OUTPUT:-/tmp}
# Version number may change, so figure out the real version # Version number may change, so figure out the real version
SRCVER="$(bash $CWD/bacon.bash -v | grep version | cut -d' ' -f3-5 | tr ' ' _)" SRCVER="$(bash $CWD/bacon.bash -v | grep version | cut -d' ' -f3-5 | tr ' ' _)"
# suggested by Niels Horn:
if [ "$VERSION" != "$SRCVER" ]; then if [ "$VERSION" != "$SRCVER" ]; then
cat <<EOF cat <<EOF
WARNING: The source version ($SRCVER) does not match the VERSION variable ($VERSION). 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 VERSION=$SRCVER ./$PRGNAM.SlackBuild

View file

@ -1,12 +1,12 @@
PRGNAM="bacon" PRGNAM="bacon"
VERSION="1.0_build_19" VERSION="1.0_build_20"
HOMEPAGE="http://www.basic-converter.org" HOMEPAGE="http://www.basic-converter.org"
DOWNLOAD="http://www.basic-converter.org/bacon.bash \ DOWNLOAD="http://www.basic-converter.org/bacon.bash \
http://www.basic-converter.org/bacon.bac" http://www.basic-converter.org/bacon.bac"
MD5SUM="d60f0edfca5a46bf16fcb61e998156e0 \ MD5SUM="aec6559d9d9396c8069def1d2536c2f9 \
571a6eb03b9c8df5a1cc283f729811e0" 99e9d7f916d7fa62860585f8540848ce"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Steve Pledger" MAINTAINER="Steve Pledger"
EMAIL="spledger91@yahoo.com" EMAIL="spledger91@yahoo.com"
APPROVED="Niels Horn" APPROVED="dsomero"