diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/xarchon/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/xarchon/xarchon-0.60.ebuild | 22 |
2 files changed, 18 insertions, 11 deletions
diff --git a/games-strategy/xarchon/ChangeLog b/games-strategy/xarchon/ChangeLog index defa55bbb926..b7f64df6beeb 100644 --- a/games-strategy/xarchon/ChangeLog +++ b/games-strategy/xarchon/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/xarchon -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.2 2003/09/10 15:51:50 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.3 2004/04/13 10:25:44 mr_bones_ Exp $ + + 13 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xarchon-0.60.ebuild: + games eclass inherits eutils already; error check sed; use flag tidy *xarchon-0.60 (31 Jul 2003) diff --git a/games-strategy/xarchon/xarchon-0.60.ebuild b/games-strategy/xarchon/xarchon-0.60.ebuild index 0cde88099471..5dce5923713b 100644 --- a/games-strategy/xarchon/xarchon-0.60.ebuild +++ b/games-strategy/xarchon/xarchon-0.60.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60.ebuild,v 1.3 2004/02/27 03:35:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60.ebuild,v 1.4 2004/04/13 10:25:44 mr_bones_ Exp $ -inherit games eutils +inherit games DESCRIPTION="modelled after the golden oldie Archon game" HOMEPAGE="http://xarchon.seul.org/" @@ -15,30 +15,34 @@ SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="esd joystick" # also has qt support but it fails :/ -DEPEND="virtual/x11 +RDEPEND="virtual/x11 =x11-libs/gtk+-1* <dev-util/glade-2 esd? ( media-sound/esound )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" src_unpack() { unpack ${A} cd ${S} - epatch ${WORKDIR}/${P}-gtk.patch - sed -i 's:gtk12-config:gtk-config:' configure + epatch "${WORKDIR}/${P}-gtk.patch" + sed -i \ + -e 's:gtk12-config:gtk-config:' configure \ + || die "sed configure failed" } src_compile() { local mysndconf - [ `use esd` ] \ + use esd \ && mysndconf="--with-esd-prefix=/usr" \ || mysndconf="--disable-sound" egamesconf \ --enable-network \ - `use_enable joystick` \ + $(use_enable joystick) \ --with-default-gtk \ ${mysndconf} \ - || die - emake || die + || die + emake || die "emake failed" } src_install() { |