# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils ATRIS_SOUNDS_P=atris-sounds-1.0.1 DESCRIPTION="Alizarin Tetris is a Tetris-like game with multi-player support, user-extensible color, shape and sound styles, and TCP/IP networking." HOMEPAGE="http://www.cs.berkeley.edu/~weimer/atris/" SRC_URI="http://www.cs.berkeley.edu/~weimer/atris/${P}.tar.gz http://www.cs.berkeley.edu/~weimer/atris/${ATRIS_SOUNDS_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=media-libs/freetype-2.1.0 >=media-libs/libsdl-1.2.0 media-libs/sdl-ttf" src_unpack() { unpack ${A} } src_compile() { econf || die "econf failed" emake || die "emake failed" # atris-sounds cd "${WORKDIR}/${ATRIS_SOUNDS_P}" econf || die "econf failed" emake || die "emake failed" } src_install() { einstall || die "einstall failed" dodoc AUTHORS ChangeLog README Docs/atris.html Docs/faq.html make_desktop_entry atris # atris-sounds cd "${WORKDIR}/${ATRIS_SOUNDS_P}" einstall || die "einstall failed" dodoc AUTHORS ChangeLog README || die "dodoc failed" }