# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ ECVS_SERVER="cvs.sourceforge.net:/cvsroot/nil" ECVS_MODULE="nil" ECVS_USER="anonymous" ECVS_PASS="" inherit cvs games S=${WORKDIR}/${PN/-cvs/} DESCRIPTION="Nil isn't Liero (Liero clone)" HOMEPAGE="http://nil.sourceforge.net/" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="virtual/x11 >=media-libs/libsdl-1.2.5 >=media-libs/sdl-image-1.2.2 >=media-libs/sdl-mixer-1.2.5 >=media-libs/sdl-ttf-2.0.5" src_compile() { cd src chmod u+x configure egamesconf || die 'configure failed' emake || die 'parallel make failed' } src_install() { dodir /usr/share/games/nil dodir /usr/games/bin cd src cp -a nil ${D}/usr/games/bin cd ../utils/lumper chmod a+x makelump.sh chmod a+x lumpdump.py ./makelump.sh cp -a ../../default.lump ${D}/usr/share/games/nil # cp -a gfx/original ${D}/usr/share/games/nil # cp -a gfx/ripped ${D}/usr/share/games/nil cd ../.. dodoc docs/HOWTO prepgamesdirs } pkg_postinst() { einfo "You may want to copy ${FILESDIR}/nilrc to ~/.nilrc" einfo "You may also want to take a look at the HOWTO" }