# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.7.0.ebuild,v 1.1 2003/06/16 15:00:19 nakano Exp $ IUSE="truetype gtk gtk2 gnome imlib" S=${WORKDIR}/${P} DESCRIPTION="A multi-lingual terminal emulator" HOMEPAGE="http://mlterm.sourceforge.net/" SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz" SLOT="0" KEYWORDS="~x86 ~ppc" LICENSE="BSD" DEPEND="virtual/x11 gtk? ( =x11-libs/gtk+-1.2* ) gtk2? ( >=x11-libs/gtk+-2.0.8 ) !gtk2? ( imlib? ( >=media-libs/imlib-1.9.14 ) gnome? ( >=media-libs/gdk-pixbuf-0.18.0 ) ) truetype? ( >=media-libs/freetype-2.1.2 )" # nls? ( >=dev-libs/fribidi-0.10.4 )" src_compile() { local myconf use gtk2 \ && myconf="${myconf} --with-imagelib=gdk-pixbuf2" use imlib \ && myconf="${myconf} --with-imagelib=imlib" use gnome \ && myconf="${myconf} --with-imagelib=gdk-pixbuf1" use truetype \ && myconf="${myconf} --enable-anti-alias" # use nls \ # && myconf="${myconf} --enable-fribidi" myconf="${myconf} --enable-utmp" econf ${myconf} || die "./configure failed" emake || die } src_install () { einstall || die dodoc ChangeLog LICENCE README }