diff options
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 3fc3fd4532ed..734276654991 100644 --- a/graphics/brlcad/brlcad.SlackBuild +++ b/graphics/brlcad/brlcad.SlackBuild @@ -6,12 +6,10 @@ # Released under the WTFPL - http://sam.zoy.org/wtfpl/ # Maintained as of version 7.16.6 by Niels Horn <niels.horn@gmail.com> -# Revision date: 2010/05/02 - -# TODO: Investigate adding pkgconfig path in profile scripts -RW +# Revision date: 2010/06/05 PRGNAM=brlcad -VERSION=${VERSION:-7.16.6} +VERSION=${VERSION:-7.16.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,16 +57,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Patch to resolve a bug in gcc 4.3.3 (as in Slackware 13.0) -# Not needed for gcc 4.4.x (but it won't harm) -patch -p1 < $CWD/patches/gcc433.patch - -# Patch for libpng 1.4.x (as in Slackware -current as of 2010/03/01) -# Do not use in 13.0 stable versions (won't work). -# Newer svn snapshots of brlcad won't need this any longer, but the stable -# 7.16.6 version still does. -patch -p1 < $CWD/patches/libpng14x.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \ --with-tk=/usr/lib${LIBDIRSUFFIX} \ --disable-tcl-build \ --disable-tk-build \ - --disable-tkhtml3-build \ --disable-jove-build \ --build=$ARCH-slackware-linux @@ -90,10 +77,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/opt/$PRGNAM/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/opt/$PRGNAM/share/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/opt/$PRGNAM/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/etc/profile.d/ cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh @@ -109,7 +94,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE ( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s ../../../opt/$PRGNAM/share/$PRGNAM/$VERSION/doc doc + for sub in doc html; do + ln -s ../../../opt/$PRGNAM/share/$sub + done ) mkdir -p $PKG/install |