summaryrefslogtreecommitdiff
path: root/games/firestorm/firestorm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/firestorm/firestorm.SlackBuild')
-rw-r--r--games/firestorm/firestorm.SlackBuild41
1 files changed, 24 insertions, 17 deletions
diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild
index fa7c95ae3c..8db3d067df 100644
--- a/games/firestorm/firestorm.SlackBuild
+++ b/games/firestorm/firestorm.SlackBuild
@@ -23,18 +23,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# NOTE: this SlackBuild is made for the Havok release of Firestorm.
+# Due to licensing reasons, this version can only be used for the
+# Second Life main grid and beta grid. If you want to connect to an
+# open sim you must use the Opensim release of Firestorm for which
+# a separate package is available.
+# Both packages can be installed in parallel on the same installation.
+
+
PRGNAM=firestorm
-VERSION=${VERSION:-4.3.1.31155}
-EXTRAVERSION=${EXTRAVERSION:-SL} # set to OS for OPenSim version
+VERSION=${VERSION:-4.4.1.34164}
+EXTRAVERSION=${EXTRAVERSION:-SL}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i686 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
fi
CWD=$(pwd)
@@ -50,14 +59,13 @@ fi
set -e
BASENAME="Phoenix_Firestorm-Release_i686_${VERSION}"
-#FILENAME="Phoenix_Firestorm-Release_${VERSION//./-}.tar.bz2"
FILENAME="Phoenix_Firestorm-Release_i686_${VERSION}${EXTRAVERSION}.tar.bz2"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $BASENAME
-tar xvf $CWD/$FILENAME
+tar xvjf $CWD/$FILENAME
cd $BASENAME
chown -R root:root .
@@ -67,16 +75,15 @@ mkdir -p $PKG/opt/$PRGNAM
# copy files just like the install script would do
cp -a * $PKG/opt/$PRGNAM
# avoid overwriting the previous configuration
-mv $PKG/opt/$PRGNAM/$PRGNAM $PKG/opt/$PRGNAM/$PRGNAM.new
+mv $PKG/opt/$PRGNAM/firestorm $PKG/opt/$PRGNAM/firestorm.new
# sound configuration for standard Slackware installation
-cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' \
- > $PKG/opt/$PRGNAM/$PRGNAM.new
+cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' > $PKG/opt/$PRGNAM/firestorm.new
mkdir -p $PKG/usr/bin
cat << EOF > $PKG/usr/bin/$PRGNAM
#!/bin/bash
cd /opt/$PRGNAM
-exec /opt/$PRGNAM/$PRGNAM
+exec /opt/$PRGNAM/firestorm
EOF
chmod 755 $PKG/usr/bin/$PRGNAM
@@ -86,9 +93,9 @@ mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-DOCS="FIRESTORM_DESKTOPINSTALL.txt README*.txt VivoxAUP.txt featuretable_linux.txt gpu_table.txt licenses.txt"
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-( cd $PKG/opt/$PRGNAM ; rm -f $DOCS )
+cp -a \
+ FIRESTORM_DESKTOPINSTALL.txt README*.txt VivoxAUP.txt featuretable_linux.txt gpu_table.txt licenses.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -96,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} \ No newline at end of file