mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/VTK: No qt/plugins to install when QT=no
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d860189768
commit
f25999b99b
1 changed files with 6 additions and 4 deletions
|
@ -147,10 +147,12 @@ cd ..
|
|||
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
|
||||
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt
|
||||
mv \
|
||||
$PKG/usr/plugins/ \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/qt
|
||||
[ -d $PKG/usr/plugins ] && {
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt
|
||||
mv \
|
||||
$PKG/usr/plugins/ \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/qt
|
||||
}
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
|
|
Loading…
Reference in a new issue