diff options
author | 2007-04-29 13:28:17 +0000 | |
---|---|---|
committer | 2007-04-29 13:28:17 +0000 | |
commit | 9c99a93f3fd93ca10ef6f8aca8303b67f3970dbc (patch) | |
tree | abcafb48dc02399c5326c7a940f2ea533746bb32 | |
parent | remove dupe (diff) | |
download | genstef-9c99a93f3fd93ca10ef6f8aca8303b67f3970dbc.tar.gz genstef-9c99a93f3fd93ca10ef6f8aca8303b67f3970dbc.tar.bz2 genstef-9c99a93f3fd93ca10ef6f8aca8303b67f3970dbc.zip |
better version in portage
svn path=/; revision=107
-rw-r--r-- | games-engines/stratagus/stratagus-2.2.1.ebuild | 63 | ||||
-rw-r--r-- | games-strategy/wargus/wargus-2.2_beta.ebuild | 36 |
2 files changed, 0 insertions, 99 deletions
diff --git a/games-engines/stratagus/stratagus-2.2.1.ebuild b/games-engines/stratagus/stratagus-2.2.1.ebuild deleted file mode 100644 index cbbb6ff..0000000 --- a/games-engines/stratagus/stratagus-2.2.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.1.ebuild,v 1.13 2006/12/04 20:14:19 wolf31o2 Exp $ - -inherit games eutils autotools - -MY_PV=061209 -DESCRIPTION="A realtime strategy game engine" -HOMEPAGE="http://www.stratagus.org/" -SRC_URI="mirror://sourceforge/stratagus/${PN}-${MY_PV}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="bzip2 debug doc mikmod mng opengl theora vorbis" - -RDEPEND="app-arch/bzip2 - dev-lang/lua - media-libs/libpng - media-libs/libsdl - sys-libs/zlib - bzip2? ( app-arch/bzip2 ) - mikmod? ( media-libs/libmikmod ) - mng? ( media-libs/libmng ) - theora? ( media-libs/libtheora ) - vorbis? ( media-libs/libogg media-libs/libvorbis )" - -DEPEND="${RDEPEND} - x11-libs/libXt - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/stratagus-${MY_PV} - -src_compile() { - epatch ${FILESDIR}/stratagus-061209-lua-5.1.patch - econf \ - $(use_enable debug) \ - $(use_with bzip2) \ - $(use_with mikmod) \ - $(use_with mng) \ - $(use_with opengl) \ - $(use_with theora) \ - $(use_with vorbis) \ - --with-x \ - --x-includes=/usr/include \ - LDFLAGS="${LDFLAGS} -lX11" \ - || die "econf failed" - - emake -j1 || die "emake failed" - echo $LDFLAGS - - if use doc ; then - emake doc || die "making source documentation failed" - fi -} - -src_install() { - dogamesbin stratagus || die "dogamesbin failed" - dodoc README - dohtml -r doc/* - use doc && dohtml -r srcdoc/html/* - prepgamesdirs -} diff --git a/games-strategy/wargus/wargus-2.2_beta.ebuild b/games-strategy/wargus/wargus-2.2_beta.ebuild deleted file mode 100644 index d05ceed..0000000 --- a/games-strategy/wargus/wargus-2.2_beta.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2004-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/wargus-2.1-r1.ebuild,v 1.5 2006/10/24 23:06:43 wolf31o2 Exp $ - -inherit eutils games - -DESCRIPTION="Warcraft II for the Stratagus game engine (Needs WC2 DOS CD)" -HOMEPAGE="http://wargus.sf.net/" -SRC_URI="mirror://sourceforge/${PN}/${P/_}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND="media-libs/libpng - sys-libs/zlib" -RDEPEND="=games-engines/stratagus-${PV:0:3}*" -S="${WORKDIR}/${P/_}" - -src_unpack() { - cdrom_get_cds data/rezdat.war - unpack ${A} -} - -src_install() { - local dir="${GAMES_DATADIR}/stratagus/${PN}" - dodir "${dir}" - ./build.sh -p "${CDROM_ROOT}" -o "${D}/${dir}" -v \ - || die "Failed to extract data" - games_make_wrapper wargus "./stratagus -d \"${dir}\"" "${GAMES_BINDIR}" - prepgamesdirs - - doicon contrib/wargus.png - make_desktop_entry wargus Wargus -} |