# 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_unpack() { unpack ${A} cd ${S} sed -i -e 's/-O3 -s -fomit-frame-pointer//' Makefile } src_compile() { if use web ; then emake gslistweb || die "emake gslistweb failed" else emake || die "emake failed" fi } src_install() { dobin gslist dodoc gslist.txt }