# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ S=${WORKDIR}/${P} DESCRIPTION="Tetrinet Clone for GNOME 2" SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtetrinet/0.6/${P}.tar.gz" HOMEPAGE="http://gtetrinet.sourceforge.net/" SLOT="0" KEYWORDS="~x86" LICENSE="GPL-2" IUSE="nls ipv6" DEPEND="dev-libs/libxml2 >=media-sound/esound-0.2.5 >=gnome-base/ORBit-0.5.16 ( >=gnome-base/gconf-1.0.8 =gnome-base/libgnome-2 >=gnome-base/libgnomeui-2 nls? ( sys-devel/gettext )" RDEPEND="" src_compile() { local myconf="" use nls || myconf="--disable-nls" use ipv6 && myconf="$myconf --enable-ipv6" econf $myconf emake || die "Compilation failed" } src_install() { einstall dodoc ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO }