From b5c3eeaa174c66891e2f66f7bfe1e298e79ae4d6 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 11 Aug 2017 15:06:08 +0200 Subject: development/cgit: Updated the git version to 2.10.4, cleanups. Signed-off-by: Matteo Bernardini --- development/cgit/cgit.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'development/cgit/cgit.SlackBuild') diff --git a/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild index a72842c9effc..49bca2536b7d 100644 --- a/development/cgit/cgit.SlackBuild +++ b/development/cgit/cgit.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for cgit -# Copyright 2013-2016 Matteo Bernardini , Pisa, Italy +# Copyright 2013-2017 Matteo Bernardini , Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,14 @@ PRGNAM=cgit VERSION=${VERSION:-1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} DOCROOT=${DOCROOT:-/var/www} 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 @@ TMP=${TMP:-/tmp/SBo} 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" @@ -56,7 +56,7 @@ else fi CGIT_VERSION=${CGIT_VERSION:-v1.1} -GIT_VERSION=${GIT_VERSION:-2.10.2} +GIT_VERSION=${GIT_VERSION:-2.10.4} DOCS="cgitrc.5.txt COPYING README $CWD/config/cgitrc.sample \ $CWD/config/cgit-lighttpd.conf $CWD/config/cgit-httpd.conf \ -- cgit v1.2.3