Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (e49bb55608a1c19df35d1dd1d92a33766c692d92)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Julien ROZO <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (e49bb55608a1c19df35d1dd1d92a33766c692d92)
  • Date: Mon, 10 Nov 2008 04:50:06 -0600

GIT changes to master binary grimoire by Julien ROZO <julien AT rozo.org>:

ChangeLog | 3 +++
bin-games/openarena-bin/BUILD | 1 +
bin-games/openarena-bin/DEPENDS | 5 +++++
bin-games/openarena-bin/DETAILS | 19 +++++++++++++++++++
bin-games/openarena-bin/HISTORY | 19 +++++++++++++++++++
bin-games/openarena-bin/INSTALL | 8 ++++++++
bin-games/openarena-bin/POST_INSTALL | 13 +++++++++++++
bin-games/openarena-bin/PREPARE | 1 +
bin-games/openarena-bin/PRE_BUILD | 7 +++++++
bin-games/openarena-bin/PRE_INSTALL | 6 ++++++
bin-games/openarena-bin/oa_ded | 14 ++++++++++++++
bin-games/openarena-bin/openarena | 14 ++++++++++++++
12 files changed, 110 insertions(+)

New commits:
commit e49bb55608a1c19df35d1dd1d92a33766c692d92
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

openarena-bin: moved from z-rejected grimoire

diff --git a/ChangeLog b/ChangeLog
index a0dd623..4590dba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-11-10 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * bin-games/openarena-bin: moved spell from z-rejected
+
2008-10-23 Julien "_kaze_" ROZO <julien AT rozo.org>
* bin-devel/eclipse-bin: moved spell from z-rejected

diff --git a/bin-games/openarena-bin/BUILD b/bin-games/openarena-bin/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/bin-games/openarena-bin/BUILD
@@ -0,0 +1 @@
+true
diff --git a/bin-games/openarena-bin/DEPENDS b/bin-games/openarena-bin/DEPENDS
new file mode 100755
index 0000000..2ef3741
--- /dev/null
+++ b/bin-games/openarena-bin/DEPENDS
@@ -0,0 +1,5 @@
+depends OPENGL &&
+depends openal &&
+depends sdl &&
+depends curl &&
+depends libvorbis
diff --git a/bin-games/openarena-bin/DETAILS b/bin-games/openarena-bin/DETAILS
new file mode 100755
index 0000000..79b7641
--- /dev/null
+++ b/bin-games/openarena-bin/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=openarena-bin
+ SPELLX=openarena
+ VERSION=0.8.1
+ VER=081
+ SOURCE=oa${VER}.zip
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELLX}-${VERSION}
+ SOURCE_URL=http://download.tuxfamily.org/${SPELLX}/rel/${VER}/${SOURCE}
+
SOURCE_HASH=sha512:99371917c3987af2f7291b1786dc7371b617d36fd303a5f6f9dbc7721f42a875309298f9a44dc337b019e802462fd1d5f8956f25468b2a8a2cd0cf4df436eb34
+ LICENSE=GPL
+ WEB_SITE=http://openarena.ws/
+ ENTERED=20080422
+ ARCHIVE="off"
+ REJECT="binary distribution"
+ SHORT="an open-source FPS based on Q3A engine"
+cat << EOF
+OpenArena is an open-source content package for Quake III Arena licensed
under
+the GPL, effectively creating a free stand-alone game.
+You do not need Quake III Arena to play this game.
+EOF
diff --git a/bin-games/openarena-bin/HISTORY b/bin-games/openarena-bin/HISTORY
new file mode 100644
index 0000000..68a1fbf
--- /dev/null
+++ b/bin-games/openarena-bin/HISTORY
@@ -0,0 +1,19 @@
+2008-11-10 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * PRE_INSTALL: added, removes Windows and Mac OS X files
+
+2008-11-02 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 0.8.1
+ * INSTALL: removed permissions fix on scripts installed from
SPELL_DIRECTORY
+ * POST_INSTALL: added games_make_proper_binary call in redefined
+ default_post_install to fix permissions on those scripts
+
+2008-08-18 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * INSTALL: fixed permissions on scripts installed from SPELL_DIRECTORY
+
+2008-08-09 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 0.8.0
+
+2008-04-22 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, POST_INSTALL, PRE_BUILD, PREPARE,
+ oa_ded, openarena: created this spell
+
diff --git a/bin-games/openarena-bin/INSTALL b/bin-games/openarena-bin/INSTALL
new file mode 100755
index 0000000..d6b856a
--- /dev/null
+++ b/bin-games/openarena-bin/INSTALL
@@ -0,0 +1,8 @@
+INSTALL_DIR=${INSTALL_ROOT}/opt/openarena &&
+mkdir $INSTALL_DIR &&
+cp -v ${SPELL_DIRECTORY}/openarena ${INSTALL_ROOT}/usr/games &&
+cp -v ${SPELL_DIRECTORY}/oa_ded ${INSTALL_ROOT}/usr/games &&
+cp -rv * $INSTALL_DIR &&
+cd $INSTALL_DIR &&
+find_and_scam &&
+chmod 750 {oa_ded,openarena}.{i386,x86_64}
diff --git a/bin-games/openarena-bin/POST_INSTALL
b/bin-games/openarena-bin/POST_INSTALL
new file mode 100755
index 0000000..0577233
--- /dev/null
+++ b/bin-games/openarena-bin/POST_INSTALL
@@ -0,0 +1,13 @@
+#
+# The default_post_install in this section tries to remove a lot of stuff in
+# /usr/share/games/
+# This spell installed nothing in /usr/share/games/
+# so there is nothing to remove
+#
+
+function default_post_install() {
+ games_make_proper_binary &&
+ real_default_post_install
+}
+
+default_post_install
diff --git a/bin-games/openarena-bin/PREPARE b/bin-games/openarena-bin/PREPARE
new file mode 100755
index 0000000..b8424fe
--- /dev/null
+++ b/bin-games/openarena-bin/PREPARE
@@ -0,0 +1 @@
+source $GRIMOIRE/REJECTED_MSG
diff --git a/bin-games/openarena-bin/PRE_BUILD
b/bin-games/openarena-bin/PRE_BUILD
new file mode 100755
index 0000000..c50deeb
--- /dev/null
+++ b/bin-games/openarena-bin/PRE_BUILD
@@ -0,0 +1,7 @@
+create_group games
&&
+message "${SPELL_COLOR}This will take some considerable time due to the"
\
+ "size of the package. No cache will be created during this install"
\
+ "either${DEFAULT_COLOR}."
&&
+mk_source_dir
&&
+cd $BUILD_DIRECTORY
&&
+unpack_file ''

diff --git a/bin-games/openarena-bin/PRE_INSTALL
b/bin-games/openarena-bin/PRE_INSTALL
new file mode 100755
index 0000000..5f62b88
--- /dev/null
+++ b/bin-games/openarena-bin/PRE_INSTALL
@@ -0,0 +1,6 @@
+## Remove files for Windows and Mac OS X platforms
+find . -name '*.exe' -type f -delete &&
+find . -name '*.dll' -type f -delete &&
+find . -name '*.app' -type d -print0 | xargs -0 rm -rf &&
+
+default_sorcery_pre_install
diff --git a/bin-games/openarena-bin/oa_ded b/bin-games/openarena-bin/oa_ded
new file mode 100755
index 0000000..50603ee
--- /dev/null
+++ b/bin-games/openarena-bin/oa_ded
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cd /opt/openarena &&
+
+# we pick the right executable for the current arch
+arch=`uname -m | sed -e s/i.86/i386/`
+executable="`basename \"${0}\"`.$arch"
+
+if [ ! -e "$executable" ]; then
+ echo "Error: $executable not found"
+ exit 1
+fi
+
+./$executable
diff --git a/bin-games/openarena-bin/openarena
b/bin-games/openarena-bin/openarena
new file mode 100755
index 0000000..50603ee
--- /dev/null
+++ b/bin-games/openarena-bin/openarena
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cd /opt/openarena &&
+
+# we pick the right executable for the current arch
+arch=`uname -m | sed -e s/i.86/i386/`
+executable="`basename \"${0}\"`.$arch"
+
+if [ ! -e "$executable" ]; then
+ echo "Error: $executable not found"
+ exit 1
+fi
+
+./$executable



  • [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (e49bb55608a1c19df35d1dd1d92a33766c692d92), Julien ROZO, 11/10/2008

Archive powered by MHonArc 2.6.24.

Top of Page