summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 06:26:50 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 06:26:50 +0000
commit1190b5814f7da41ef46d6f5758aa44b80e0e954f (patch)
tree410895ca938ddb9b4166f4850349a53245129e10 /games-rpg/vegastrike
parentinitial import. buig 26371 (diff)
downloadgentoo-2-1190b5814f7da41ef46d6f5758aa44b80e0e954f.tar.gz
gentoo-2-1190b5814f7da41ef46d6f5758aa44b80e0e954f.tar.bz2
gentoo-2-1190b5814f7da41ef46d6f5758aa44b80e0e954f.zip
i lub rpgs
Diffstat (limited to 'games-rpg/vegastrike')
-rw-r--r--games-rpg/vegastrike/ChangeLog24
-rw-r--r--games-rpg/vegastrike/Manifest4
-rw-r--r--games-rpg/vegastrike/files/0.3.1-vsinstall.patch24
-rw-r--r--games-rpg/vegastrike/files/digest-vegastrike-0.3.12
-rw-r--r--games-rpg/vegastrike/vegastrike-0.3.1.ebuild82
5 files changed, 136 insertions, 0 deletions
diff --git a/games-rpg/vegastrike/ChangeLog b/games-rpg/vegastrike/ChangeLog
new file mode 100644
index 000000000000..79592086cb4c
--- /dev/null
+++ b/games-rpg/vegastrike/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for app-games/vegastrike
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/vegastrike/ChangeLog,v 1.1 2003/09/10 06:26:50 vapier Exp $
+
+*vegastrike-0.3.1 (21 Jun 2003)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + openal + deprecated GL headers.
+ Fixes #18021, #18025, and #16336.
+
+*vegastrike-0.2.9.4 (16 Oct 2002)
+
+ 01 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Fixes for #10794 and games eclass support
+
+ 11 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Made package compile on gcc2.x and with libpng 1.2.5
+
+ 16 Oct 2002; Bart Lauwers <blauwers@gentoo.org> vegastrike-0.2.9.4.ebuild:
+ Initial version of this ebuild for Vega Strike. Vega Strike is a 3d OpenGL
+ Action RPG space sim for Windows/Linux that allows a player to trade and
+ bounty hunt in the spirit of Elite. You start in an old beat up Wayfarer
+ cargo ship, with endless possibility before you and just enough cash to
+ scrape to
diff --git a/games-rpg/vegastrike/Manifest b/games-rpg/vegastrike/Manifest
new file mode 100644
index 000000000000..c8be8a242249
--- /dev/null
+++ b/games-rpg/vegastrike/Manifest
@@ -0,0 +1,4 @@
+MD5 a8b6466ea45f94f56345e7ac4a00192e ChangeLog 1023
+MD5 9f1b27010253c7e2ff2b8a5b960fd807 vegastrike-0.3.1.ebuild 2188
+MD5 b7121086183c9741c97fe59559fd9177 files/digest-vegastrike-0.3.1 156
+MD5 2e620174666c33d1a873ea9f3f68286e files/0.3.1-vsinstall.patch 975
diff --git a/games-rpg/vegastrike/files/0.3.1-vsinstall.patch b/games-rpg/vegastrike/files/0.3.1-vsinstall.patch
new file mode 100644
index 000000000000..050a1360a75c
--- /dev/null
+++ b/games-rpg/vegastrike/files/0.3.1-vsinstall.patch
@@ -0,0 +1,24 @@
+--- vsinstall.orig 2003-06-21 08:31:00.000000000 -0400
++++ vsinstall 2003-06-21 08:32:08.000000000 -0400
+@@ -2,16 +2,16 @@
+ CURPWD=$PWD
+ mkdir $HOME/.vegastrike
+ cd $HOME/.vegastrike
+-if cat save.txt ;
++if [ -f save.txt ] ;
+ then
+ touch save.txt;
+ else
+ echo "default"> save.txt ;
+ fi
+-cp /usr/local/games/vegastrike/data/setup.config .
+-cp /usr/local/games/vegastrike/data/.vegastrike/*.m3u .
+-cp /usr/local/games/vegastrike/data/vegastrike.config .
+-/usr/local/bin/vssetup
++cp /usr/share/games/vegastrike/data/setup.config .
++cp /usr/share/games/vegastrike/data/.vegastrike/*.m3u .
++cp /usr/share/games/vegastrike/data/vegastrike.config .
++/usr/games/bin/vssetup
+ echo "Download http://aslp.gallaudet.edu/jjg/wcrm/Vault_Room/vault_room.html the WC2 Collection and the Privateer-RF Collection to ~/music/ directory that you make."
+ echo "If you wish to have your own music edit ~/.vegastrike/*.m3u Each playlist represents a place or situation in Vega Strike"
+ cd $CURPWD
diff --git a/games-rpg/vegastrike/files/digest-vegastrike-0.3.1 b/games-rpg/vegastrike/files/digest-vegastrike-0.3.1
new file mode 100644
index 000000000000..8c6c003f0468
--- /dev/null
+++ b/games-rpg/vegastrike/files/digest-vegastrike-0.3.1
@@ -0,0 +1,2 @@
+MD5 1c4d9e64d526ac65f57259c3003797c9 vegastrike-0.3.1-gcc3.2.src.rpm 2252596
+MD5 6f09bc8c70e744409d5467c9dace7e74 vegastrike-data-0.3-1.noarch.rpm 97635155
diff --git a/games-rpg/vegastrike/vegastrike-0.3.1.ebuild b/games-rpg/vegastrike/vegastrike-0.3.1.ebuild
new file mode 100644
index 000000000000..16983a952de9
--- /dev/null
+++ b/games-rpg/vegastrike/vegastrike-0.3.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/vegastrike/vegastrike-0.3.1.ebuild,v 1.1 2003/09/10 06:26:50 vapier Exp $
+
+inherit games eutils flag-o-matic
+
+DATA_VER=0.3-1
+DESCRIPTION="3d OpenGL Action RPG space sim"
+HOMEPAGE="http://vegastrike.sourceforge.net/"
+SRC_URI="mirror://sourceforge/vegastrike/${P}-gcc3.2.src.rpm
+ mirror://sourceforge/vegastrike/${PN}-data-${DATA_VER}.noarch.rpm"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE="sdl" # openal"
+
+RDEPEND="media-libs/glut
+ virtual/x11
+ sdl? ( media-libs/libsdl
+ media-libs/sdl-mixer )
+ media-libs/openal"
+# openal? ( media-libs/openal )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ app-arch/rpm2targz"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ rpm2targz ${DISTDIR}/${P}-gcc3.2.src.rpm || die "src rpm2targz failed"
+ tar -zxf ${P}-gcc3.2.src.tar.gz || die "src tar 1 failed"
+ tar -zxf ${PN}.tar.gz || die "src tar 2 failed"
+
+ rpm2targz ${DISTDIR}/${PN}-data-${DATA_VER}.noarch.rpm || die "data rpm2targz failed"
+ tar -zxf ${PN}-data-${DATA_VER}.noarch.tar.gz || die "src tar failed"
+
+ cd ${S}
+ autoconf || die
+ automake || die
+
+ cd ${WORKDIR}
+ mv usr/local data
+ cd data/bin/
+ epatch ${FILESDIR}/${PV}-vsinstall.patch
+}
+
+src_compile() {
+ append-flags -DGL_GLEXT_LEGACY
+
+ local sdlconf
+ use sdl \
+ && sdlconf="--enable-sdl --disable-nosdl" \
+ || sdlconf="--disable-sdl --enable-nosdl"
+ egamesconf ${sdlconf} || die
+
+ cp src/common/{common.cpp,common.cpp.orig}
+ sed -e "s:/opt/share/vegastrike/data:${GAMES_DATADIR}/${PN}/data:" \
+ src/common/common.cpp.orig > src/common/common.cpp
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dogamesbin ${WORKDIR}/data/bin/vsinstall vssetup vslauncher
+
+ dodoc NEWS AUTHORS README ChangeLog ${WORKDIR}/data/doc/vegastrike/readme.txt
+ doman ${WORKDIR}/data/man/man1/*
+
+ dodir ${GAMES_DATADIR}
+ mv ${WORKDIR}/data/games/vegastrike ${D}/${GAMES_DATADIR}/
+
+ find ${D} -type d -name cvs -exec rm -rf '{}' \; >& /dev/null
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "run vsinstall to setup your account"
+ einfo "then run vslauncher to start Vega Strike"
+ games_pkg_postinst
+}