diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-08-11 15:06:08 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:43 +0700 |
commit | b5c3eeaa174c66891e2f66f7bfe1e298e79ae4d6 (patch) | |
tree | ff0cc03469e0120c358ca34cc186f3002f9702a2 /development/cgit/cgit.SlackBuild | |
parent | 5f4780b9d763d1b785418ffe54ec0a56a5f1c5d2 (diff) | |
download | slackbuilds-b5c3eeaa174c66891e2f66f7bfe1e298e79ae4d6.tar.gz |
development/cgit: Updated the git version to 2.10.4, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/cgit/cgit.SlackBuild')
-rw-r--r-- | development/cgit/cgit.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild index a72842c9ef..49bca2536b 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 <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2017 Matteo Bernardini <ponce@slackbuilds.org>, 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 \ |