# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/advancescan/advancescan-1.14.ebuild,v 1.1 2009/05/27 12:56:20 nyhm Exp $ EAPI=2 inherit autotools eutils games DESCRIPTION="A command line rom manager for MAME, MESS, AdvanceMAME, AdvanceMESS and Raine" HOMEPAGE="http://advancemame.sourceforge.net/scan-readme.html" SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-libs/expat" src_prepare() { rm -rf expat epatch "${FILESDIR}"/${P}-sys-expat.patch eautoreconf } src_install() { dogamesbin advscan advdiff || die "dogamesbin failed" dodoc AUTHORS HISTORY README doc/*.txt advscan.rc.linux doman doc/{advscan,advdiff}.1 dohtml doc/*.html prepgamesdirs }