diff options
Diffstat (limited to 'code/unix/setup/pkg/ioquake3')
-rw-r--r-- | code/unix/setup/pkg/ioquake3/depend | 3 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/pkginfo.template | 12 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/postinstall | 21 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/postremove | 21 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/preinstall | 10 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/preremove | 10 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/prototype.template | 8 | ||||
-rw-r--r-- | code/unix/setup/pkg/ioquake3/space | 1 |
8 files changed, 86 insertions, 0 deletions
diff --git a/code/unix/setup/pkg/ioquake3/depend b/code/unix/setup/pkg/ioquake3/depend new file mode 100644 index 0000000..11170ca --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/depend @@ -0,0 +1,3 @@ +P SUNWxilrl XIL Runtime Environment +P SFWsdl SDL - Simple DirectMedia Layer library +P ioquake3d Icculus.Org Quake3 game data files for Solaris 10 (X11,GLX,SDL) diff --git a/code/unix/setup/pkg/ioquake3/pkginfo.template b/code/unix/setup/pkg/ioquake3/pkginfo.template new file mode 100644 index 0000000..15aaf8f --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/pkginfo.template @@ -0,0 +1,12 @@ +CLASSES=none +BASEDIR=/usr/local/share/games +TZ=PST +PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin +PKG=ioquake3 +NAME=Icculus.Org Quake3 1.34 for Solaris 10 (X11,GLX,SDL) +VERSION= +CATEGORY=application,graphics,opengl +DESC=Icculus.Org Quake3 1.34 for Solaris 10 (http://www.icculus.org/quake3) +VENDOR=http://www.icculus.org/quake3 +EMAIL=quake@cojot.name +PKGSAV=/var/sadm/pkg/ioquake3/save diff --git a/code/unix/setup/pkg/ioquake3/postinstall b/code/unix/setup/pkg/ioquake3/postinstall new file mode 100644 index 0000000..2775d5e --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/postinstall @@ -0,0 +1,21 @@ +#!/bin/sh +# +# @(#)postinstall $Id: postinstall,v 1.3 2006/01/21 12:54:52 coyote Exp $ +# +# postinstall script for quake3 + +quake3_dir=$BASEDIR/quake3 +dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin + +if [ -d ${dest_dir} ]; then + for inst_script in ioq3ded.sh ioquake3.sh + do + dest_script=${dest_dir}/${inst_script} + if [ ! -h ${dest_script} ]; then + ln -s ${quake3_dir}/${inst_script} ${dest_script} + fi + done +fi + +exit 0 + diff --git a/code/unix/setup/pkg/ioquake3/postremove b/code/unix/setup/pkg/ioquake3/postremove new file mode 100644 index 0000000..37690f6 --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/postremove @@ -0,0 +1,21 @@ +#!/bin/sh +# +# @(#)postremove $Id: postremove,v 1.3 2006/01/21 12:54:52 coyote Exp $ +# +# postremove script for quake3 + +quake3_dir=$BASEDIR +dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin + +if [ -d ${dest_dir} ]; then + for inst_script in ioq3ded.sh ioquake3.sh + do + dest_script=${dest_dir}/${inst_script} + if [ -h ${dest_script} ]; then + rm -f ${dest_script} + fi + done +fi + +exit 0 + diff --git a/code/unix/setup/pkg/ioquake3/preinstall b/code/unix/setup/pkg/ioquake3/preinstall new file mode 100644 index 0000000..ad126a1 --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/preinstall @@ -0,0 +1,10 @@ +#!/bin/sh +# +# @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ +# +# postinstall script for quake3 + +quake3_dir=$BASEDIR + +exit 0 + diff --git a/code/unix/setup/pkg/ioquake3/preremove b/code/unix/setup/pkg/ioquake3/preremove new file mode 100644 index 0000000..3f316f3 --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/preremove @@ -0,0 +1,10 @@ +#!/bin/sh +# +# @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ +# +# postinstall script for quake3 + +quake3_dir=$BASEDIR + +exit 0 + diff --git a/code/unix/setup/pkg/ioquake3/prototype.template b/code/unix/setup/pkg/ioquake3/prototype.template new file mode 100644 index 0000000..f23af77 --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/prototype.template @@ -0,0 +1,8 @@ +!default 0755 root bin +i pkginfo +i copyright +i depend +i postinstall +i postremove +i preinstall +i preremove diff --git a/code/unix/setup/pkg/ioquake3/space b/code/unix/setup/pkg/ioquake3/space new file mode 100644 index 0000000..95b7294 --- /dev/null +++ b/code/unix/setup/pkg/ioquake3/space @@ -0,0 +1 @@ +/usr/local/share 20000 15 |