dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Wed Jun 18, 2003 9:58 pm Post subject: new bzflag version 1.7.g2 (ebuild) |
|
|
Hi,
I noticed there is a new version of bzflag out (1.7.g2). Just copying over the previous version did not work for me, this quick hack did tho:
Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
# This ebuild uses #.#.#.# to represent #.#x# the 3rd number in the
# Gentoo version is the alphabetic position of the letter in the
# bzflag version.
MY_P=${PN}-1.7g2
S=${WORKDIR}/${MY_P}
DESCRIPTION="OpenGL accelerated 3d tank combat simulator game"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/bzflag/${MY_P}.tgz"
HOMEPAGE="http://www.BZFlag.org"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
DEPEND="virtual/opengl"
src_unpack() {
unpack ${A}
cd ${S}
# patch -p0 < ${FILESDIR}/bzf-gcc31.patch || die
}
src_compile() {
econf || die
emake || die
}
src_install () {
einstall || die
}
|
save it as bzflag/1.7.7.2.ebuild
let me know if I did anything wrong |
|