aboutsummaryrefslogtreecommitdiff
path: root/graphics/brlcad/brlcad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r--graphics/brlcad/brlcad.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 734276654991f..044504a454822 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -6,19 +6,17 @@
# 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/06/05
+# Revision date: 2010/08/26
PRGNAM=brlcad
-VERSION=${VERSION:-7.16.8}
+VERSION=${VERSION:-7.16.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -77,8 +75,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
-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
+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
mkdir -p $PKG/etc/profile.d/
cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh
@@ -95,7 +93,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/$sub
+ ln -s ../../../opt/$PRGNAM/share/$PRGNAM/$VERSION/$sub
done
)