# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 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" SLOT="0" KEYWORDS="x86" IUSE="" RDEPEND="X? ( virtual/x11 )" DEPEND="${RDEPEND} app-arch/unzip" S=${WORKDIR} pkg_setup() { echo } src_unpack() { unzip -d ${S} ${DISTDIR}/${A} } src_compile() { cd ${WORKDIR}/gslist sed -i -e "s/BINDIR = \$(PREFIX)\/bin//" Makefile cp Makefile{,.in} (echo BINDIR\ =\ ${D}/usr/local/bin;cat Makefile.in) > Makefile sed -i -e "s/PREFIX = \/usr\/local//" Makefile emake || die "emake failed" } src_install() { cd ${WORKDIR}/gslist emake install || die "make install failed" dodoc gslist.txt }