diff options
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 10 | ||||
-rw-r--r-- | graphics/brlcad/brlcad.info | 8 |
2 files changed, 12 insertions, 6 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 3366a854101c5..2c64a2bef814e 100644 --- a/graphics/brlcad/brlcad.SlackBuild +++ b/graphics/brlcad/brlcad.SlackBuild @@ -9,7 +9,7 @@ # Revision date: 2011/08/14 PRGNAM=brlcad -VERSION=${VERSION:-7.20.2} +VERSION=${VERSION:-7.20.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,6 +55,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Create configure script +sh autogen.sh + # There is a "known issue" according to the guys on #brlcad and we need # the configure flag "-disable-strict-build" for now CFLAGS="$SLKCFLAGS" \ @@ -82,6 +85,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/opt/$PRGNAM/man -type f -exec gzip -9 {} \; for i in $( find $PKG/opt/$PRGNAM/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# If we have no PDFs, remove the empty directories +find $PKG/opt/$PRGNAM/share/pdf -type d -depth -empty -exec rmdir {} \; + mkdir -p $PKG/etc/profile.d/ cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh cat $CWD/profile.d/$PRGNAM.csh > $PKG/etc/profile.d/$PRGNAM.csh @@ -98,7 +104,7 @@ 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 for sub in doc html; do - ln -s ../../../opt/$PRGNAM/share/$PRGNAM/$VERSION/$sub + ln -s ../../../opt/$PRGNAM/share/$sub done cd - diff --git a/graphics/brlcad/brlcad.info b/graphics/brlcad/brlcad.info index 5faa67895564b..5e1be20707147 100644 --- a/graphics/brlcad/brlcad.info +++ b/graphics/brlcad/brlcad.info @@ -1,10 +1,10 @@ PRGNAM="brlcad" -VERSION="7.20.2" +VERSION="7.20.4" HOMEPAGE="http://brlcad.org" -DOWNLOAD="http://downloads.sourceforge.net/brlcad/brlcad-7.20.2.tar.bz2" -MD5SUM="67f22029ced78a429c9511072797612c" +DOWNLOAD="http://downloads.sourceforge.net/brlcad/brlcad-7.20.4.tar.bz2" +MD5SUM="6e500f477e21a539a04e37001c350472" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Niels Horn" EMAIL="niels.horn@gmail.com" -APPROVED="dsomero" +APPROVED="rworkman" |