diff options
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 3366a85410..2c64a2bef8 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 - |