# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit libtool eutils mercurial DESCRIPTION="C64 SID player" HOMEPAGE="http://sidplay2.sourceforge.net/" EHG_REPO_URI="http://hg.atheme.org/users/ccr/sidplay2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND=">=media-libs/libsidplay-2.1.0" DEPEND="${RDEPEND} dev-util/pkgconfig" S="${WORKDIR}/sidplay2/" src_unpack() { if [ -n "$NOFETCH" ]; then EHG_PULL_CMD=/bin/true EHG_CLONE_CMD=/bin/true fi mercurial_src_unpack cd "${S}" sh bootstrap } src_install () { emake DESTDIR=${D} install || die "emake install failed." dodoc TODO AUTHORS ChangeLog }