mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/nvme-cli: Updated for version 1.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8803f8256a
commit
d25d51ad43
2 changed files with 14 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue