diff options
Diffstat (limited to 'games/firestorm/firestorm.SlackBuild')
-rw-r--r-- | games/firestorm/firestorm.SlackBuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild index 27cb0f1196..ab6719161a 100644 --- a/games/firestorm/firestorm.SlackBuild +++ b/games/firestorm/firestorm.SlackBuild @@ -23,18 +23,11 @@ # 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. - +# NOTE: Since release 4.7.9 there is no Havoc version of Firestorm. +# Therefore this package now builds the Opensim version by default. PRGNAM=firestorm -VERSION=${VERSION:-4.4.2.34167} -EXTRAVERSION=${EXTRAVERSION:-SL} +VERSION=${VERSION:-4.7.9.50527} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,29 +44,28 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" != "i686" ] ; then - echo "Architecture other than i686 is not supported by upstream at this point." - exit +if [ "$ARCH" = "x86_64" ]; then + BUILDTYPE="OS-Releasex64" +else + BUILDTYPE="OS-Release" fi set -e -BASENAME="Phoenix_Firestorm-Release_i686_${VERSION}" -FILENAME="Phoenix_Firestorm-Release_i686_${VERSION}${EXTRAVERSION}.tar.bz2" +BASENAME="Phoenix_Firestorm${BUILDTYPE}_${ARCH}_${VERSION}" rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $BASENAME -tar xvjf $CWD/$FILENAME +tar xvf $CWD/$BASENAME.tar.xz cd $BASENAME - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/opt/$PRGNAM # copy files just like the install script would do @@ -97,9 +89,7 @@ mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - FIRESTORM_DESKTOPINSTALL.txt README*.txt VivoxAUP.txt featuretable_linux.txt gpu_table.txt licenses.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |