To make it nice like v8 I've modified the SlackBuild so that it adds libGLU in a similar way to the demos.
Near the top with the other 2 version number strings :-
After the main mesa build and right before the demos :-
Code:
# Now install libGLU
( cd $TMP
rm -rf glu-$GLUVERS
tar xvf $CWD/glu-$GLUVERS.tar.?z* || exit 1
cd glu-$GLUVERS
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--build=$ARCH-slackware-linux
# Build and install
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
)
And if you want to clean up the .la files (I put it after the strip binaries command) :-
Code:
find $PKG -name *.la | xargs rm