aboutsummaryrefslogtreecommitdiff
path: root/system/nvme-cli
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2019-01-18 08:32:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-18 23:39:53 +0700
commit4c1847b39a305082d9303799b1baaeb79116b4e1 (patch)
treecbcb4a92ab0e867de9154ea22fc66d66ece5b323 /system/nvme-cli
parent469fe71133dbc8136d5a4d378b9b9b098f17f39c (diff)
system/nvme-cli: Updated for version 1.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvme-cli')
-rw-r--r--system/nvme-cli/nvme-cli.SlackBuild17
-rw-r--r--system/nvme-cli/nvme-cli.info6
2 files changed, 12 insertions, 11 deletions
diff --git a/system/nvme-cli/nvme-cli.SlackBuild b/system/nvme-cli/nvme-cli.SlackBuild
index 83ec594189ff..3c0f4e48a4ee 100644
--- a/system/nvme-cli/nvme-cli.SlackBuild
+++ b/system/nvme-cli/nvme-cli.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvme-cli
-# Copyright 2017-2018, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvme-cli
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,13 +41,13 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -I."
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -I."
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -I."
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -I."
fi
set -e
@@ -72,8 +72,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/bash_completion.d
-mv $PKG/usr/share/bash_completion.d/nvme $PKG/etc/bash_completion.d/nvme.new
-rmdir $PKG/usr/share/bash_completion.d/
+mv $PKG/usr/share/bash-completion/completions/nvme $PKG/etc/bash_completion.d/nvme.new
+rmdir $PKG/usr/share/bash-completion/completions/
+rmdir $PKG/usr/share/bash-completion/
mv $PKG/usr/share/man $PKG/usr/
rmdir --ignore-fail-on-non-empty $PKG/usr/share/
diff --git a/system/nvme-cli/nvme-cli.info b/system/nvme-cli/nvme-cli.info
index d4ef42b69313..eba9cc3ff518 100644
--- a/system/nvme-cli/nvme-cli.info
+++ b/system/nvme-cli/nvme-cli.info
@@ -1,8 +1,8 @@
PRGNAM="nvme-cli"
-VERSION="1.6"
+VERSION="1.7"
HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
-DOWNLOAD="https://github.com/linux-nvme/nvme-cli/archive/v1.6/nvme-cli-1.6.tar.gz"
-MD5SUM="b42f1d2a8a51b127468db16dcf06f418"
+DOWNLOAD="https://github.com/linux-nvme/nvme-cli/archive/v1.7/nvme-cli-1.7.tar.gz"
+MD5SUM="ec64bc935957f6bc52109bde704a5a42"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""