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
|
@ -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 New Issue