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 | c6d45b97e0cfb620e05f144e3917fdee080191ff (patch) | |
tree | 01241cae35a03af5b783b4329de447e59feff160 /games-mud/gMOO/gMOO-0.4.8-r1.ebuild | |
parent | use emake; don't RDEPEND on sed; virtual/x11 (Manifest recommit) (diff) | |
download | gentoo-2-c6d45b97e0cfb620e05f144e3917fdee080191ff.tar.gz gentoo-2-c6d45b97e0cfb620e05f144e3917fdee080191ff.tar.bz2 gentoo-2-c6d45b97e0cfb620e05f144e3917fdee080191ff.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() { |