# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # # $Header: $ inherit games DESCRIPTION="A graphical frontend for Visual Boy Advance to configure the emulator and run your games easily!" HOMEPAGE="http://vbaexpress.tuxfamily.org/" SRC_URI="http://vbaexpress.tuxfamily.org/vbaexpress-1.1.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="X gnome" RESTRICT="nomirror" DEPEND="fltk libsdl FLU visualboyadvance" RDEPEND="" SRC_DIR=${WORKDIR}/${P} src_unpack() { unpack ${A} } src_compile() { cd "${SRC_DIR}" || die "chdir failed" emake || die "make failed" } src_install() { #installing the executable dogamesbin vbaexpress || die "dogamesbin failed" #installing the menu in gnome/kde if use gnome; then insinto /usr/share/applications doins misc/vbaexpress.desktop insinto /usr/share/pixmaps doins misc/vbaexpress.png fi dodoc LISEZMOI.txt README.txt prepgamesdirs }