diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-31 03:58:18 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-31 03:58:18 +0000 |
commit | b982503c7d4bfffa86f602a03813dbce7b2eef78 (patch) | |
tree | fc01200b3474e2b244efce8f2acc6d45d6c67f59 /games-mud/gMOO/gMOO-0.4.8-r1.ebuild | |
parent | use emake; don't RDEPEND on sed; virtual/x11 (diff) | |
download | historical-b982503c7d4bfffa86f602a03813dbce7b2eef78.tar.gz historical-b982503c7d4bfffa86f602a03813dbce7b2eef78.tar.bz2 historical-b982503c7d4bfffa86f602a03813dbce7b2eef78.zip |
kludge tcl support; virtual/x11; use emake/econf/use_enable; use bz2 source
Diffstat (limited to 'games-mud/gMOO/gMOO-0.4.8-r1.ebuild')
-rw-r--r-- | games-mud/gMOO/gMOO-0.4.8-r1.ebuild | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild index e598f6ab273e..9edd1e7df730 100644 --- a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild +++ b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild @@ -1,41 +1,38 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.2 2004/01/24 13:51:27 mr_bones_ Exp $ - +# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.3 2004/03/31 03:58:18 mr_bones_ Exp $ DESCRIPTION="GTK+ Based MOO client" HOMEPAGE="http://www.nowmoo.demon.nl/" -SRC_URI="http://www.nowmoo.demon.nl/packages/${P}.tar.gz" +SRC_URI="http://www.nowmoo.demon.nl/packages/${P}.tar.bz2" KEYWORDS="x86" LICENSE="GPL-2" SLOT="0" IUSE="nls tcltk" -DEPEND="virtual/glibc - >=x11-base/xfree-4.1.0 +RDEPEND="virtual/glibc + virtual/x11 =x11-libs/gtk+-1.2* tcltk? ( dev-lang/tcl )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" src_unpack() { unpack ${A} cd ${S} use nls && patch -l -p0 <${FILESDIR}/gMOO.patch + sed -i \ + -e "s/-ltcl8.0/-ltcl/" configure \ + || die "sed configure failed" } src_compile() { - local myconf="" - - use tcltk || myconf="${myconf} --disable-tcl" - - use nls || myconf="${myconf} --disable-nls" - - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --host=${CHOST} ${myconf} || die "configure failed" - - make || die + econf \ + `use_enable nls` \ + `use_enable tcltk tcl` \ + || die "configure failed" + emake || die "emake failed" } src_install() { |