libraries/OpenSceneGraph: Move bins from /usr/share and fix libdir
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
741c11f306
commit
999ae910b7
|
@ -10,7 +10,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=OpenSceneGraph
|
||||
VERSION=${VERSION:-3.6.5}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -75,12 +75,17 @@ cd build
|
|||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_POSTFIX=$LIBDIRSUFFIX \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
$occ \
|
||||
-DBUILD_OSG_EXAMPLES=ON \
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# No binaries in /usr/share. Move examples to /usr/bin
|
||||
mv $PKG/usr/share/OpenSceneGraph/bin/* $PKG/usr/bin/
|
||||
rm -rf $PKG/usr/share
|
||||
cd ..
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
Loading…
Reference in New Issue