diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-10-28 07:16:25 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-10-28 07:16:25 +0000 |
commit | abdd0ff49198951c27794cd5d0c1dd54dcb759bd (patch) | |
tree | eeba30643e5df400de82086d400a21a20cccafc1 /games-simulation/flightgear/flightgear-0.9.3.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-abdd0ff49198951c27794cd5d0c1dd54dcb759bd.tar.gz gentoo-2-abdd0ff49198951c27794cd5d0c1dd54dcb759bd.tar.bz2 gentoo-2-abdd0ff49198951c27794cd5d0c1dd54dcb759bd.zip |
version bump
Diffstat (limited to 'games-simulation/flightgear/flightgear-0.9.3.ebuild')
-rw-r--r-- | games-simulation/flightgear/flightgear-0.9.3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-simulation/flightgear/flightgear-0.9.3.ebuild b/games-simulation/flightgear/flightgear-0.9.3.ebuild new file mode 100644 index 000000000000..60e1d439471d --- /dev/null +++ b/games-simulation/flightgear/flightgear-0.9.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/flightgear-0.9.3.ebuild,v 1.1 2003/10/28 07:16:23 seemant Exp $ + +inherit games + +MY_PN=FlightGear +MY_P=${MY_PN}-${PV} + +S=${WORKDIR}/${MY_P} +DESCRIPTION="Open Source Flight Simulator" +HOMEPAGE="http://www.flightgear.org/" +SRC_URI="mirror://flightgear/Source/${MY_P}.tar.gz + mirror://flightgear/Shared/fgfs-base-${PV}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64" + +DEPEND=">=dev-games/simgear-0.3.4 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's:#include <simgear/screen/jpgfactory.hxx>:#include <simgear/screen/jpgfactory.hxx-faile-include>:g' \ + configure || die "sed configure failed" +} + +src_compile() { + econf \ + --with-multiplayer \ + --with-network-olk \ + --with-threads \ + --with-x || die + emake || make || die +} + +src_install() { + egamesinstall || die + + dodir ${GAMES_LIBDIR}/${MY_PN} + cp -a data/* ${D}/${GAMES_LIBDIR}/${MY_PN} + + dodoc README* ChangeLog AUTHORS NEWS Thanks + + prepgamesdirs +} |