# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-6.ebuild,v 1.2 2012/05/05 08:02:52 mgorny Exp $ inherit toolchain-funcs DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." HOMEPAGE="http://home.gna.org/a2jmidid/" SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" EAPI="2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="dbus" RDEPEND="media-libs/alsa-lib media-sound/jack-audio-connection-kit dbus? ( sys-apps/dbus )" DEPEND="${RDEPEND} virtual/pkgconfig dev-lang/python" src_configure() { tc-export CC AR CPP LD RANLIB local myconf myconf="--prefix=/usr" if use !dbus ; then myconf="${myconf} --disable-dbus" fi ./waf configure ${myconf} || die "failed to configure" } src_compile() { tc-export CC AR CPP LD RANLIB ./waf || die "failed to build" } src_install() { ./waf --destdir="${D}" install || die "install failed" dodoc AUTHORS README NEWS internals.txt }