# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A Pirates! Clone" HOMEPAGE="http://crownandcutlass.sourceforge.net/" SRC_URI="http://sourceforge/crownandcutlass/CrownCutlass-Alpha${PV}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/opengl media-libs/sdl-image media-libs/openal media-libs/libvorbis" S=${WORKDIR}/CrownCutlass src_unpack() { unpack "${A}" cd "${S}" #tested with media-video/ati-drivers epatch ${FILESDIR}/${PN}-gl.patch || die "GL patch failed" } src_install() { dodir "${GAMES_DATADIR}/${PN}" cp -r data CrownCutlass "${D}${GAMES_DATADIR}/${PN}" || die "Installing failed" games_make_wrapper crowncutlass "./CrownCutlass" "${GAMES_DATADIR}/${PN}" dodoc README LICENSE INSTALL prepgamesdirs }