# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Scroll Rack is a virtual tabletop on which you can play card games against other people over a network." HOMEPAGE="http://scrollrack.sourceforge.net/" SRC_URI="mirror://sourceforge/scrollrack/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=x11-libs/gtk+-2" DEPEND="${RDEPEND} gnome-base/librsvg dev-util/pkgconfig" src_unpack() { unpack "${P}.tar.gz" epatch "${FILESDIR}/${P}-gatherer.diff" } src_compile() { emake CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { dogamesbin client/unix/scrollrack || die "dogamesbin failed" dobin server/scrollrack-server || die "dobin failed" dodoc README dodoc DOCS/c2s-protocol.txt DOCS/p2p-protocol.html prepgamesdirs } pkg_postinst() { games_pkg_postinst }