summaryrefslogtreecommitdiff
path: root/graphics/brlcad/brlcad.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-12-26 00:11:21 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-26 00:11:21 -0600
commitc153fbfc227781e400cbb19de3bb7d6d54109cb5 (patch)
treec4f43e69ac0ec34447bf4b3742a4a5669b23ffa3 /graphics/brlcad/brlcad.SlackBuild
parent7ae44971fea3c3b7b6ea42524bc6efc2b1ca3cad (diff)
downloadslackbuilds-c153fbfc227781e400cbb19de3bb7d6d54109cb5.tar.gz
graphics/brlcad: Updated for version 7.20.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r--graphics/brlcad/brlcad.SlackBuild10
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 -