# Copyright 1999-2002 Gentoo Technologies, Inc. # Copyright 2002 TelemetryBox Corporation, Christoph Lameter , June 21,2002 # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Network Multiplayer game with sound: Boulderdash, Emerald Mine, Sokoban" HOMEPAGE="http://www.artsoft.org/rocksndiamonds/" LICENSE="GPL-2" DEPEND="libsdl sdl-mixer sdl-image sdl-sound" SRC_URI="http://www.artsoft.org/RELEASES/unix/${PN}/${P}.tar.gz" S=${WORKDIR}/${P} GAME_DIR=/usr/share/${PN} SLOT="0" src_compile() { patch -p1 < ${FILESDIR}/${P}-debianfixes.patch emake sdl OPTIONS="${CFLAGS}" X11_PATH=/usr/X11R6 RO_GAME_DIR=${GAME_DIR} SCORE_ENTRIES=ONE_PER_NAME || die } src_install () { install -d ${D}/${GAME_DIR} -d ${D}/usr/bin dobin rocksndiamonds # insinto ${D}/${GAME_DIR} cp -a graphics levels sounds music ${D}/${GAME_DIR} # doins level # doins music doman rocksndiamonds.1 dodoc README CHANGES CREDITS }