diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-20 22:37:58 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:27:47 +0000 |
commit | ccf48982f58ba310e90b189bcfc3f46748065ac8 (patch) | |
tree | a4258f8390bfbd379915bc6e7046b3a33216924e | |
parent | b1b4a32fa8d5f477c81b4750b2a3d38e58911100 (diff) | |
download | slackbuilds-ccf48982f58ba310e90b189bcfc3f46748065ac8.tar.gz |
games/zaz: Allow VERSION override, fix .info, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | games/zaz/zaz.SlackBuild | 8 | ||||
-rw-r--r-- | games/zaz/zaz.info | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/games/zaz/zaz.SlackBuild b/games/zaz/zaz.SlackBuild index 7afa888c5f..2ea8d2487c 100644 --- a/games/zaz/zaz.SlackBuild +++ b/games/zaz/zaz.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zaz -VERSION=1.0.0 +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/games/zaz/zaz.info b/games/zaz/zaz.info index de700a55f7..194e5dfa4f 100644 --- a/games/zaz/zaz.info +++ b/games/zaz/zaz.info @@ -2,8 +2,8 @@ PRGNAM="zaz" VERSION="1.0.0" HOMEPAGE="http://zaz.sourceforge.net" DOWNLOAD="http://downloads.sourceforge.net/zaz/zaz-1.0.0.tar.bz2" -DOWNLOAD_x86_64="" MD5SUM="d92a043780d06c699da0ba04aab32a6b" +DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ftgl" MAINTAINER="MLanden" |