aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2020-05-02 12:02:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-02 12:02:48 +0700
commitd25d51ad43c98c6df74a34e142d0d7de18c4558a (patch)
tree6d07d28fb6b394d43172d4c6517409b5378066fd /system
parent8803f8256a2cfecb2d131c566fb9edc3f8cb34ff (diff)
system/nvme-cli: Updated for version 1.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/nvme-cli/nvme-cli.SlackBuild17
-rw-r--r--system/nvme-cli/nvme-cli.info6
2 files changed, 14 insertions, 9 deletions
diff --git a/system/nvme-cli/nvme-cli.SlackBuild b/system/nvme-cli/nvme-cli.SlackBuild
index f07d92dbeb6ee..747d75d449b0d 100644
--- a/system/nvme-cli/nvme-cli.SlackBuild
+++ b/system/nvme-cli/nvme-cli.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvme-cli
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-1.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,8 +65,14 @@ 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 {} \;
-make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" PREFIX=/usr
-make install DESTDIR=$PKG PREFIX=/usr SBINDIR=/usr/sbin
+make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" PREFIX=/usr SBINDIR=/usr/sbin
+make install CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
+ PREFIX=/usr SBINDIR=/usr/sbin DESTDIR=$PKG
+
+rm -f $PKG/etc/nvme/*
+rm -r $PKG/etc/udev
+rm -r $PKG/usr/lib/{dracut,systemd}
+rmdir --ignore-fail-on-non-empty $PKG/usr/lib
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
@@ -76,14 +82,13 @@ mv $PKG/usr/share/bash-completion/completions/nvme $PKG/etc/bash_completion.d/nv
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/
+mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/completions
-cp -a CONTRIBUTING.md README.md LICENSE scripts $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING* README* LICENSE* scripts $PKG/usr/doc/$PRGNAM-$VERSION
cp -a completions/{README,_nvme} $PKG/usr/doc/$PRGNAM-$VERSION/completions
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/nvme-cli/nvme-cli.info b/system/nvme-cli/nvme-cli.info
index 97bc9ca27726a..5ead1b1bed01b 100644
--- a/system/nvme-cli/nvme-cli.info
+++ b/system/nvme-cli/nvme-cli.info
@@ -1,8 +1,8 @@
PRGNAM="nvme-cli"
-VERSION="1.11"
+VERSION="1.11.1"
HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
-DOWNLOAD="https://github.com/linux-nvme/nvme-cli/archive/v1.11/nvme-cli-1.11.tar.gz"
-MD5SUM="7c8b32db707ccaecdb7ae6565668bf4c"
+DOWNLOAD="https://github.com/linux-nvme/nvme-cli/archive/v1.11.1/nvme-cli-1.11.1.tar.gz"
+MD5SUM="eaa3a5b422a555d1b206fb2d612c8588"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""