# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # TODO # - Create a patch to Makefile to be able to make install # - Enhance the ebuild a little. inherit games SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DESCRIPTION="Object Oriented Sega Master System Emulator" SRC_URI="http://bcz.emu-france.com/osmose/osmose_0_8_1_src.zip" HOMEPAGE="http://bcz.emu-france.com/" IUSE="" DEPEND="sys-libs/zlib media-libs/libsdl" RDEPEND="${DEPEND}" src_compile() { cd "${WORKDIR}/Osmose" make } src_install() { local dir="${GAMES_PREFIX}/${PN}" dodir "${dir}" chmod a+x "${WORKDIR}/Osmose/osmose" cp "${WORKDIR}/Osmose/osmose" "${D}/${dir}" games_make_wrapper osmose "${dir}/osmose" }