inherit games eutils cvs ECVS_SERVER="savannah.nongnu.org:/cvsroot/stratagus" ECVS_MODULE="stratagus" ECVS_USER="anoncvs" ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}" S=${WORKDIR}/${ECVS_MODULE} DESCRIPTION="Realtime strategy game-engine for games like Aloena's Tale, Battle Of Survival, Warcraft 2, etc." HOMEPAGE="http://www.stratagus.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" RDEPEND=">=media-libs/libpng-1.2.3 >=media-libs/libsdl-1.2.4 sys-libs/zlib" DEPEND="${RDEPEND} sys-devel/autoconf" src_compile() { autoconf econf make depend || die "depend generation failed" make || die "build failed" } src_install() { dogamesbin stratagus dohtml -r doc dodoc README prepgamesdirs } pkg_postinst() { einfo "Stratagus is now installed but in order to actually play" einfo "you will need some game media. A list of games is available" einfo "at this website: http://www.nongnu.org/stratagus/games.html." games_pkg_postinst }