summaryrefslogtreecommitdiff
path: root/development/cf-cli/cf-cli.SlackBuild
diff options
context:
space:
mode:
authorDmitrii Sosedov <d.sosedov@gmail.com>2020-09-19 01:08:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-19 01:08:15 +0700
commit0ba8368d870a8f6e345aac490be37b853133b914 (patch)
tree1d761c140d8e6b6741d721cb154f4be9bef5d63c /development/cf-cli/cf-cli.SlackBuild
parentb9bb74f88addc331239cd28db21a45ed1dcc5a5b (diff)
downloadslackbuilds-0ba8368d870a8f6e345aac490be37b853133b914.tar.gz
development/cf-cli: Updated for version 7.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cf-cli/cf-cli.SlackBuild')
-rw-r--r--development/cf-cli/cf-cli.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/cf-cli/cf-cli.SlackBuild b/development/cf-cli/cf-cli.SlackBuild
index 0d1aa78381..322d920f32 100644
--- a/development/cf-cli/cf-cli.SlackBuild
+++ b/development/cf-cli/cf-cli.SlackBuild
@@ -24,7 +24,7 @@
BIN=cf
PRGNAM=$BIN-cli
-VERSION=${VERSION:-6.51.0}
+VERSION=${VERSION:-7.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,10 +46,11 @@ if [ "$ARCH" = "i486" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ mv $CWD/${BIN}7-cli\_$VERSION\_linux\_$ARCH.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- mv $CWD/$PRGNAM\_$VERSION\_linux\_x86-64.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz
+ mv $CWD/${BIN}7-cli\_$VERSION\_linux\_x86-64.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -71,10 +72,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mv ${BIN}7 $PKG/usr/bin/.
mv $BIN $PKG/usr/bin/.
find -L $PKG -type d -exec chmod 755 {} \;
-chmod 755 $PKG/usr/bin/*
+chmod 755 $PKG/usr/bin/${BIN}7
+chmod 755 $PKG/usr/bin/$BIN
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true