mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
development/cloc: Version bump to 2.00
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
839ea1ccc5
commit
ec6a3a0ce9
2 changed files with 5 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for cloc
|
||||
|
||||
# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
|
||||
# Copyright 2017-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=cloc
|
||||
VERSION=${VERSION:-1.98}
|
||||
VERSION=${VERSION:-2.00}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="cloc"
|
||||
VERSION="1.98"
|
||||
VERSION="2.00"
|
||||
HOMEPAGE="https://github.com/AlDanial/cloc/"
|
||||
DOWNLOAD="https://github.com/AlDanial/cloc/archive/v1.98/cloc-1.98.tar.gz"
|
||||
MD5SUM="3ba16d12a451282325ef7d01de92955e"
|
||||
DOWNLOAD="https://github.com/AlDanial/cloc/archive/v2.00/cloc-2.00.tar.gz"
|
||||
MD5SUM="0991480ba5bfedba3148ffd918a91f10"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-Algorithm-Diff perl-Regexp-Common perl-parallel-forkmanager"
|
||||
|
|
Loading…
Reference in a new issue