aboutsummaryrefslogtreecommitdiff
path: root/system/isdct/isdct.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2017-02-17 11:58:19 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-17 21:52:09 +0000
commit57d4fa3ec198abbecd17e4b24a8f41a1355d125f (patch)
treec5f0dcebd4f45e809c24cb93373741209ec52206 /system/isdct/isdct.SlackBuild
parent7c4305a91d5201ad5261dd698ca41d410ca324ff (diff)
system/isdct: Updated for version 3.0.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/isdct/isdct.SlackBuild')
-rw-r--r--system/isdct/isdct.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/system/isdct/isdct.SlackBuild b/system/isdct/isdct.SlackBuild
index 41d0ae041c2df..03c49a1948bc8 100644
--- a/system/isdct/isdct.SlackBuild
+++ b/system/isdct/isdct.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for isdct
-# Copyright 2016, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2017, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=isdct
-VERSION=${VERSION:-3.0.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,8 +58,6 @@ cd $PRGNAM-$VERSION
unzip $CWD/DataCenterTool_${VERSION//./_}_Linux.zip
rpm2cpio isdct-${VERSION}.*.$RPMARCH.rpm | cpio -imdv
-cp $CWD/Intel_SSD_Data_Center_${VERSION//./_}_Release_Notes*.pdf \
- $CWD/Intel_SSD_DCT_3_0_x_User_Guide.pdf .
chown -R root:root .
find -L . \
@@ -68,7 +66,7 @@ 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 {} \;
-# It used hard-coded library path, so we will stick with /usr/lib
+# The library path is hard-coded, so we stick with /usr/lib
cp -a usr $PKG
mv $PKG/usr/bin $PKG/usr/sbin
@@ -76,10 +74,7 @@ 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/usr/doc/$PRGNAM-$VERSION
-cp -a NSGSoftwareLicenseAgreement*.txt \
- Intel_SSD_Data_Center_${VERSION//./_}_Release_Notes*.pdf \
- Intel_SSD_DCT_3_0_x_User_Guide.pdf \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install