# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: initial version Ron Simpkin doobedoobedo@quake3world.com IUSE="" DESCRIPTION="Kids card/puzzle game" SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LPairs" S="${WORKDIR}/${P}" SLOT="0" LICENSE="GPL" KEYWORDS="x86 ppc sparc sparc64" DEPEND="virtual/x11 media-libs/libsdl" src_unpack() { unpack ${A} } src_compile() { econf ${myconf} emake || die } src_install() { # fix sandbox violation mv lpairs/Makefile lpairs/Makefile.orig && \ sed -e 's/inst_dir = \/usr\/share\/games\/lpairs/inst_dir = ${D}usr\/share\/games\/lpairs/' \ lpairs/Makefile.orig >lpairs/Makefile einstall dodoc README NEWS AUTHORS COPYING TODO ChangeLog }