summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-21 02:44:57 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-21 02:44:57 +0000
commitb106dfec69abe7894a415c2c24ed5bf56e109d17 (patch)
tree007c4746207275a1439f1db03a9536e0b91f2af6 /games-rpg
parentVersion bump to 1.8.1, changed SRC_URI to use sourceforge mirros, fixed kerne... (diff)
downloadgentoo-2-b106dfec69abe7894a415c2c24ed5bf56e109d17.tar.gz
gentoo-2-b106dfec69abe7894a415c2c24ed5bf56e109d17.tar.bz2
gentoo-2-b106dfec69abe7894a415c2c24ed5bf56e109d17.zip
ver bump #29419
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/vegastrike/ChangeLog11
-rw-r--r--games-rpg/vegastrike/files/digest-vegastrike-0.4.11
-rw-r--r--games-rpg/vegastrike/vegastrike-0.4.1.ebuild104
3 files changed, 113 insertions, 3 deletions
diff --git a/games-rpg/vegastrike/ChangeLog b/games-rpg/vegastrike/ChangeLog
index d60c67dc6566..7758ee046c98 100644
--- a/games-rpg/vegastrike/ChangeLog
+++ b/games-rpg/vegastrike/ChangeLog
@@ -1,12 +1,17 @@
# ChangeLog for games-rpg/vegastrike
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/vegastrike/ChangeLog,v 1.3 2003/09/23 19:55:07 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/vegastrike/ChangeLog,v 1.4 2003/11/21 02:44:57 vapier Exp $
- 24 Sep 2003; Martin Holzer <mholzer@gentoo.org> vegastrike-0.3.1.ebuild:
- Added gcc3 patch. Closes #29317
+*vegastrike-0.4.1 (20 Nov 2003)
+
+ 20 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #29419.
*vegastrike-0.3.1 (21 Jun 2003)
+ 24 Sep 2003; Martin Holzer <mholzer@gentoo.org> vegastrike-0.3.1.ebuild:
+ Added gcc3 patch. Closes #29317
+
21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
Version bump + openal + deprecated GL headers.
Fixes #18021, #18025, and #16336.
diff --git a/games-rpg/vegastrike/files/digest-vegastrike-0.4.1 b/games-rpg/vegastrike/files/digest-vegastrike-0.4.1
new file mode 100644
index 000000000000..3a98764dd31c
--- /dev/null
+++ b/games-rpg/vegastrike/files/digest-vegastrike-0.4.1
@@ -0,0 +1 @@
+MD5 650c69438d4f3b382c1697b422706b53 vegastrike-0.4.1-installer.tar.bz2 174703773
diff --git a/games-rpg/vegastrike/vegastrike-0.4.1.ebuild b/games-rpg/vegastrike/vegastrike-0.4.1.ebuild
new file mode 100644
index 000000000000..b455a85f1007
--- /dev/null
+++ b/games-rpg/vegastrike/vegastrike-0.4.1.ebuild
@@ -0,0 +1,104 @@
+# 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.4.1.ebuild,v 1.1 2003/11/21 02:44:57 vapier Exp $
+
+inherit games eutils flag-o-matic
+
+DESCRIPTION="A 3D space simulator that allows you to trade and bounty hunt"
+HOMEPAGE="http://vegastrike.sourceforge.net/"
+SRC_URI="mirror://sourceforge/vegastrike/${P}-installer.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl"
+
+RDEPEND="virtual/glu
+ virtual/glut
+ virtual/opengl
+ media-libs/libsdl
+ media-libs/jpeg
+ media-libs/libpng
+ dev-libs/expat
+ media-libs/openal
+ media-libs/sdl-mixer
+ virtual/x11"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+S=${WORKDIR}/${P}-installer
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ for tar in ${P}-{data,source,setup}.tgz ; do
+ tar -zxf ${tar}
+ # save space :)
+ rm ${tar}
+ done
+
+ # Clean up data dir
+ find data -name CVS -type d -exec rm -rf '{}' \; >&/dev/null
+ find data -name '*~' -type f -exec rm -f '{}' \; >&/dev/null
+
+ # Sort out directory references
+ sed -i \
+ -e "s!/usr/local/share/doc!/usr/share/doc!" \
+ -e "s!/usr/local/share/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ -e "s!/usr/games/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ -e "s!/usr/local/bin!${GAMES_BINDIR}!" \
+ -e "s!/usr/local/lib/man!/usr/share/man!" \
+ data/documentation/vegastrike.1
+ sed -i \
+ -e "s!/usr/games/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ -e "s!/usr/local/bin!${GAMES_BINDIR}!" \
+ vegastrike/launcher/saveinterface.cpp
+ sed -i \
+ "s!/usr/local/share/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ vegastrike/src/common/common.cpp
+ sed -i \
+ "s!/usr/share/local/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ vegastrike/src/filesys.cpp
+ sed -i \
+ -e "s!/usr/local/games/vegastrike!${GAMES_DATADIR}/vegastrike!" \
+ -e "s!/usr/local/bin!${GAMES_BINDIR}!" \
+ vsfinalize
+
+ cd ${S}/vegastrike
+ sed -i '/^SUBDIRS =/s:tools::' Makefile.am
+ sed -i 's:$(liblowlevel)::' src/networking/Makefile.am
+ aclocal || die "aclocal failed"
+ WANT_AUTOCONF_2_5=1 autoconf || die "autoconf failed"
+ automake -a || die "automake failed"
+}
+
+src_compile() {
+ cd ${S}/vegastrike
+ egamesconf || die "econf failed"
+ emake || die "emake failed"
+
+ cd ${S}/vssetup/src/
+ perl ./build || die "perl build failed"
+}
+
+src_install() {
+ newgamesbin vsfinalize vsinstall
+ newgamesbin vssetup/src/bin/setup vssetup
+ dogamesbin vegastrike/src/vegastrike
+ dogamesbin vegastrike/launcher/vslauncher
+ cp -rf vegastrike/src/networking/soundserver data/
+
+ doman data/documentation/*.1
+ dodoc data/documentation/*.txt
+
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -r data ${D}/${GAMES_DATADIR}/${PN}/
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "run vsinstall to setup your account"
+ einfo "then run vslauncher to start Vega Strike"
+}