mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/isdct: Fix path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bfd7f4fd19
commit
bcb29d0da9
1 changed files with 2 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=isdct
|
||||
VERSION=${VERSION:-3.0.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -68,16 +68,13 @@ 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
|
||||
cp -a usr $PKG
|
||||
mv $PKG/usr/bin $PKG/usr/sbin
|
||||
|
||||
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
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
mv $PKG/usr/lib $PKG/usr/lib64
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a NSGSoftwareLicenseAgreement*.txt \
|
||||
Intel_SSD_Data_Center_${VERSION//./_}_Release_Notes*.pdf \
|
||||
|
|
Loading…
Reference in a new issue