# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Gslist is a game servers browser which supports an incredible amount of games." HOMEPAGE="http://aluigi.altervista.org/papers.htm#gslist" SRC_URI="http://aluigi.altervista.org/papers/gslist.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="web" DEPEND="app-arch/unzip" S="${WORKDIR}/${PN}" src_compile() { if use web ; then emake gslistweb CFLAGS="${CFLAGS}" || die "emake gslistweb failed" else emake CFLAGS="${CFLAGS}" || die "emake failed" fi } src_install() { dobin gslist || die "install failed" dodoc gslist.txt }