LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2012, 06:18 AM   #16
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282

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 :-
Code:
GLUVERS=9.0.0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xf86-video-nouveau as a tarball: will it be included in Slackware 14? Didier Spaier Slackware 13 09-29-2012 04:30 AM
Slackware 14 RC5 KMS xf86-video-ati libdrm testing tuxbg Slackware 6 09-28-2012 03:57 PM
LXer: Testing Out The Major Nouveau libdrm Rewrite LXer Syndicated Linux News 0 04-21-2012 08:20 PM
xf86-video-nouveau on Slackware sahko Slackware 0 08-06-2009 10:29 AM
ATI XF86 4.4 Drivers? Zero-0-Effect Linux - General 0 05-26-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration